本帖最后由 mvs2008 于 2015-7-2 21:00 编辑
hadoop 1.2.1
Hive 0.11.0
在Hive上面建了几个table,但是为什么quit之后再次登录Hive show tables就没有了呢?
但是所建表的目录仍然在,show tables是没有的。
刚接触Hive,求大神赐教。
[mw_shl_code=bash,true]hadoop fs -ls /user/hive/warehouse
Found 6 items
drwxr-xr-x - james supergroup 0 2015-07-02 19:42 /user/hive/warehouse/del_comma
drwxr-xr-x - james supergroup 0 2015-07-02 19:38 /user/hive/warehouse/load_dt
drwxr-xr-x - james supergroup 0 2015-07-02 14:28 /user/hive/warehouse/t
drwxr-xr-x - james supergroup 0 2015-07-02 14:35 /user/hive/warehouse/t1
drwxr-xr-x - james supergroup 0 2014-09-19 15:11 /user/hive/warehouse/test
drwxr-xr-x - james supergroup 0 2014-09-19 15:04 /user/hive/warehouse/test3
[/mw_shl_code]
[mw_shl_code=bash,true]hive> show tables;
OK
test
Time taken: 3.078 seconds, Fetched: 1 row(s)[/mw_shl_code]
|