mysql - Hive 'cannot alter table' error -
An error occurs when I was loading data in a table and I appreciate your help.
hive & gt; Load data in local patient '/ home / extratech / discoctimate / detection_10.txt' table; Copy of data from file: /home/Xperttech/Desktop/datagen_10.txt file copy: file: / home / extract / desktop / detection_10.txt Unable to change failed tables with default.patient exception to load data in data. Removal: Execution error, return code from org.apache.hadoop.hive.ql.exec.MoveTask 1 Although the data is inserted in the normal form.
This only occurs when I use mysql for metastore when I switch back to the derby, then everything works fine. I'm sure mysql is running well and hive Login is successful.
Hive log:
2014-07-24 20: 36: 55,136 error exec.ask (sessionState. Java: print ether (419)) - with the exception failed Unable to change table Org.apache.hadoop.hive.ql.metadata.HiveException: unable to change table on org.apache.hadoop.hive.ql.metadata.Hive.alterTable (hive.java:387) org.apache Org.apache.hadoop at .hadoop.hive.ql.metadata.Hive.loadTable (Hive.java:1448) at org.apache .hadoop.hive.ql.exec.MoveTask.execute (MoveTask.java:283). hive.ql.exec.Task.executeTask (Taskkjawa 151) at .ql.exec.TaskRunner.runSequential on org.apache.hadoop.hive org.apache.hadoop.hive.ql.Driver.launchTask (Driver.java: 1414) at (TaskRunner.java:65) org.apache.hadoop.hive.ql.Driver.execute (Driver.java.1192) at org.apache.hadoop.hive.ql.Driver On .runInternal (Driver.java:1020) (Driver.java:888) on at org.apache.hadoop.hive.ql.Driver.run org.apache.hadoop.hive.cli.CliDriver.processLocalCmd (CliDriver.java: 259) at org.apache.hadoop.hive.cli.CliDriver.processCmd (CliDriver.java:216) at org.apache.hadoop.hive. Cli.CliDriver.processLine (CliDriver.java:413) ................................ at org.apache.hadoop .hive.cli.CliDriver.run (CliDriver.java:675) at org.apache.hadoop.hive.cli.CliDriver.Main (CliDriver.java:614) ativeMethodAccessorImpl.invoke0 sun.reflect.NativeMethodAccessorImpl on sun.reflect.N .invoke (NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) on JavaklangkreflectkMethodkinvoke (Native method) (method. Java: 597) org.apache because of .hadoop.util.RunJar.main (RunJar.java:160): MetaException (message: OrgkdatanucleuskexceptionskNucleusDataStoreException: select: recycle request failed `A0`.`BUCKET_COL_NAME`,` A0` NUsiders from `BucketsTeols`` A`` as' INTEGER_IDX` Jhan` A 0`k` Sdi_aidi` =? And `A0`.`INTEGER_IDX` & gt; = 0 order org.apache.hadoop.hive.metastore.HiveMetaStore $ HMSHandler on) sun.reflect.NativeMethodAccessorImpl.invoke0 by NUCORDER0. At alter_table_with_environment_context (HiveMetaStore.java, 408) (natives) method.rout.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java})
Comments
Post a Comment