org.apache.hadoop.hive.ql.exec.DDLTask. MetaException

1196 ワード

     hive mysql             ,               
 
   

hive> show tables
    > ;
OK
test
Time taken: 0.403 seconds, Fetched: 1 row(s)


 

hive> drop table test;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)

                              
    oracle      (      ,              )
 mysql-connector-java-commercial-5.1.34-bin.jar  jar    hive       lib          ,        。
 
   
 
   

hive> create table tt(
    > id int
    > );
OK
Time taken: 0.709 seconds
hive> show tables;
OK
tt
Time taken: 0.069 seconds, Fetched: 1 row(s)
hive> drop table tt;
OK
Time taken: 0.379 seconds
hive>

       
hive    apache-hive-1.0.0-bin.tar.gz
mysql    MySQL-server-advanced-5.6.23-1.rhel5.i386