2013年7月27日星期六

Exceptionwith importtsv, bulk-load data into hbase loaded hdfs

Hdfs will be located on the / usr / tmp / list.txt file generated using the importtsv Hfile, and output to the / tmp folder, because examples of data separator is "," it is coupled with parameter-Dimporttsv.separator = " ;,. "
command: hadoop jar / mnt/sda3/hadoop/hbase-0.94.3/hbase-0.94.3.jar importtsv-Dimporttsv.bulk.output = tmp-Dimporttsv.separator = " ;, "-Dimporttsv.columns = HBASE_ROW_KEY, f1 t8 / usr / tmp / list.txt.
prompted with the following error:
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: zookeeper.version = 3.4.3-1240972, built on 02/06/2012 10:48 GMT
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: host.name = localhost
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.version = 1.6.0_35
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.vendor = Sun Microsystems Inc.
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.home = / usr/lib/jvm/java/jdk1.6.0_35/jre
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.class.path = / mnt/sda3/hadoop/hadoop-1.0.4/libexec /. . / conf :/ usr/lib/jvm/java/jdk1.6.0_35/lib/tools.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec / .. :/ mnt/sda3/hadoop/hadoop -1.0.4/libexec/../hadoop-core-1.0.4.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/asm-3.2.jar :/ mnt/sda3 / hadoop/hadoop-1.0.4/libexec/../lib/aspectjrt-1.6.5.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/aspectjtools-1.6.5. jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-beanutils-1.7.0.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec / .. / lib/commons-beanutils-core-1.8.0.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-cli-1.2.jar :/ mnt/sda3/hadoop/hadoop -1.0.4/libexec/../lib/commons-codec-1.4.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-collections-3.2.1.jar: / mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-configuration-1.6.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons- daemon-1.0.1.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-digester-1.8.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec / ../lib/commons-el-1.0.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-httpclient-3.0.1.jar :/ mnt/sda3/hadoop / hadoop-1.0.4/libexec/../lib/commons-io-2.1.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-lang-2.4.jar: / mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-logging-1.1.1.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib / commons-logging-api-1.0.4.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/commons-math-2.1.jar :/ mnt/sda3/hadoop/hadoop-1.0 .4/libexec/../lib/commons-net-1.4.1.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/core-3.1.1.jar :/ mnt / sda3/hadoop/hadoop-1.0.4/libexec/../lib/guava-11.0.2.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/hadoop-capacity- scheduler-1.0.4.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/hadoop-fairscheduler-1.0.4.jar :/ mnt/sda3/hadoop/hadoop-1.0.4 / libexec/../lib/hadoop-thriftfs-1.0.4.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/hsqldb-1.8.0.10.jar :/ mnt/sda3 / hadoop/hadoop-1.0.4/libexec/../lib/jackson-core-asl-1.8.8.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jackson- mapper-asl-1.8.8.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jasper-compiler-5.5.12.jar :/ mnt/sda3/hadoop/hadoop-1.0 .4/libexec/../lib/jasper-runtime-5.5.12.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jdeb-0.8.jar :/ mnt/sda3 / hadoop/hadoop-1.0.4/libexec/../lib/jersey-core-1.8.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jersey-json-1.8. jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jersey-server-1.8.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib / jets3t-0.6.1.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jetty-6.1.26.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec / ../lib/jetty-util-6.1.26.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jsch-0.1.42.jar :/ mnt/sda3/hadoop / hadoop-1.0.4/libexec/../lib/junit-4.5.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/kfs-0.2.2.jar :/ mnt / sda3/hadoop/hadoop-1.0.4/libexec/../lib/log4j-1.2.15.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/mockito-all- 1.8.5.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/oro-2.0.8.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec /. ./lib/servlet-api-2.5-20081211.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/slf4j-api-1.4.3.jar :/ mnt/sda3/hadoop / hadoop-1.0.4/libexec/../lib/slf4j-log4j12-1.4.3.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/xmlenc-0.52.jar: / mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib/jsp-2.1/jsp-2.1.jar :/ mnt/sda3/hadoop/hadoop-1.0.4/libexec/../lib / jsp-2.1/jsp-api-2.1.jar :: / mnt/sda3/hadoop/hbase-0.94.3/lib/guava-11.0.2.jar :/ mnt/sda3/hadoop/hbase-0.94.3/lib / zookeeper-3.4.3.jar :/ mnt/sda3/hadoop/hbase-0.94.3/lib / :/ mnt/sda3/hadoop/hbase-0.94.3/conf :/ mnt/sda3/hadoop/hbase-0.94 .3/hbase-0.94.3-tests.jar :/ mnt/sda3/hadoop/hbase-0.94.3/hbase-0.94.3.jar
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.library.path = / mnt/sda3/hadoop/hadoop-1.0.4/libexec /. ./lib/native/Linux-i386-32
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.io.tmpdir = / tmp
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: java.compiler =
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: os.name = Linux
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: os.arch = i386
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: os.version = 2.6.18-128.el5
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: user.name = root
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: user.home = / root
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Client environment: user.dir = / mnt/sda3/hadoop/hbase-0.94.3/bin
13/05/23 09:41:05 INFO zookeeper.ZooKeeper: Initiating client connection, connectString = master: 2181 sessionTimeout = 180000 watcher = hconnection
13/05/23 09:41:05 INFO zookeeper.ClientCnxn: Opening socket connection to server / 192.168.1.137:2181
13/05/23 09:41:06 WARN client.ZooKeeperSaslClient: SecurityException: java.lang.SecurityException: Unable to locate login configuration occurred when trying to find JAAS configuration.
13/05/23 09:41:06 INFO client.ZooKeeperSaslClient: Client will not SASL-authenticate because the default JAAS configuration section 'Client' ; could not be found. If you are not using SASL, you may ignore this. On the other hand, if you expected ; SASL to work, please fix your JAAS configuration.
13/05/23 09:41:06 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 8953 @ localhost
13/05/23 09:41:06 INFO zookeeper.ClientCnxn: Socket connection established to master/192.168.1.137: 2181, initiating session
13/05/23 09:41:06 INFO zookeeper.ClientCnxn: Session establishment complete on server master/192.168.1.137: 2181, sessionid = 0x13ecf0b470c0004 , negotiated timeout = 180000
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.hbase.mapreduce.Driver.main (Driver.java: 51)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.util.RunJar.main (RunJar.java: 156)
Caused by: java.lang.NoClassDefFoundError: com / google / protobuf / Message
at org.apache.hadoop.hbase.io.HbaseObjectWritable. (HbaseObjectWritable.java: 263)
at org.apache.hadoop.hbase.ipc.Invocation.write (Invocation.java: 139)
at org.apache.hadoop.hbase.ipc.HBaseClient $ Connection.sendParam (HBaseClient.java: 638)
at org.apache.hadoop.hbase.ipc.HBaseClient.call (HBaseClient.java: 1001)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine $ Invoker.invoke (WritableRpcEngine.java: 150)
at $ Proxy5.getProtocolVersion (Unknown Source)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy (WritableRpcEngine.java: 183)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy (HBaseRPC.java: 335)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy (HBaseRPC.java: 312)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy (HBaseRPC.java: 364)
at org.apache.hadoop.hbase.client.HConnectionManager $ HConnectionImplementation.getMaster (HConnectionManager.java: 682)
at org.apache.hadoop.hbase.client.HBaseAdmin. (HBaseAdmin.java: 110)
at org.apache.hadoop.hbase.mapreduce.ImportTsv.main (ImportTsv.java: 352)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.util.ProgramDriver $ ProgramDescription.invoke (ProgramDriver.java: 68)
at org.apache.hadoop.util.ProgramDriver.driver (ProgramDriver.java: 139)
... 10 more
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.Message
at java.net.URLClassLoader $ 1.run (URLClassLoader.java: 202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (URLClassLoader.java: 190)
at java.lang.ClassLoader.loadClass (ClassLoader.java: 306)
at sun.misc.Launcher $ AppClassLoader.loadClass (Launcher.java: 301)
at java.lang.ClassLoader.loadClass (ClassLoader.java: 247)
... 29 more

------ Solution ------------------------------------ --------
missing JAR references bags
put this bag protobuf-java-2.XXjar add lib on the line
------ Solution ----------------- ---------------------------

Okay, thank you kind! I wonder if there is no version limited? Or any version of protobuf can? ????? ???? ????
????
Use your HBASE_HOME/lib/protobuf-java- *. jar this bag ????
??? ?? ??
Before such questions Exception in thread "main" java.lang.NoClassDefFoundError: com / google / common / collect / Multimap, is added to the guava-11.0.2.jar lib. Jar file is missing a lot of running, it is not possible to HBASE_HOME / lib / add hadoop_classpath where it solve the problem? ?

in these four bags into hadoop_classpath
guava-*. jar
hbase-0.94. *. jar
protobuf-java-2. *. jar
zookeeper-*. jar

CP or directly to HADOOP_HOME / lib / directory
other useless bag all removed
restart HADOOP, try

------ Solution ------------------------------------ --------
to-Dimporttsv.bulk.output = tmp removed, should be able to step in place, do not run completebulkload
try first
------ Solution --------------------------------- -----------

just searched if an error is Caused by: java.lang.IllegalStateException: The value of the hbase.metrics. showTableName conf option has not been specified in SchemaMetrics of the problem, which is hbase-0.94.3 of the bug, need to manually update. . . (Https://issues.apache.org/jira/browse/HBASE-4802) I fainted ?

Do not tangled, and the 0.94.7 it
------ For reference only ------------------------- --------------
help you big ox!
------ For reference only -------------------------------------- -
Online, again found information
------ For reference only ---------------------------- -----------
like this type of error is stated Caused by: java.lang.ClassNotFoundException: com.google.protobuf.Message to find, or by Exception in ; thread "main" to find?
------ For reference only -------------------------------------- -

Okay, thank you kind! I wonder if there is no version limited? Or any version of protobuf can?
------ For reference only -------------------------------------- -

Okay, thank you kind! I wonder if there is no version limited? Or any version of protobuf can? ?

Use your HBASE_HOME/lib/protobuf-java- *. jar this bag

------ For reference only ---------------------------------- -----

Okay, thank you kind! I wonder if there is no version limited? Or any version of protobuf can? ??? ?? ??
??
Use your HBASE_HOME/lib/protobuf-java- *. jar this bag ??
?
Before such questions Exception in thread "main" java.lang.NoClassDefFoundError: com / google / common / collect / Multimap, is added to the guava-11.0.2.jar lib. Jar file is missing a lot of running, it is not possible to HBASE_HOME / lib / add hadoop_classpath where it solve the problem?
------ For reference only -------------------------------------- -

Okay, thank you kind! I wonder if there is no version limited? Or any version of protobuf can? ??? ?? ??
??
Use your HBASE_HOME/lib/protobuf-java- *. jar this bag ??
?
moderator, first very happy to join the HBASE_HOME under protobuf lib after success, running a successful
------ For reference only -------------- -------------------------

moderator, pointing at you successfully importtsv generate HFILE, thank you very much!
but through completebulkload import HBASE also a problem.
message is as follows:
13/05/23 14:33:46 WARN mapreduce.LoadIncrementalHFiles: Skipping non-directory hdfs :/ / localhost: 9000/user/root/tmp/_SUCCESS
13/05/23 14:33:47 INFO hfile.CacheConfig: Allocating LruBlockCache with maximum size 241.7m
13/05/23 14:33:47 INFO util.ChecksumType: org.apache.hadoop.util.PureJavaCrc32 not available.
13/05/23 14:33:47 INFO util.ChecksumType: Checksum can use java.util.zip.CRC32
13/05/23 14:33:47 INFO util.ChecksumType: org.apache.hadoop.util.PureJavaCrc32C not available.
13/05/23 14:33:47 ERROR mapreduce.LoadIncrementalHFiles: Unexpected execution exception during splitting
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics
at java.util.concurrent.FutureTask $ Sync.innerGet (FutureTask.java: 222)
at java.util.concurrent.FutureTask.get (FutureTask.java: 83)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.groupOrSplitPhase (LoadIncrementalHFiles.java: 333)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.doBulkLoad (LoadIncrementalHFiles.java: 232)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.run (LoadIncrementalHFiles.java: 699)
at org.apache.hadoop.util.ToolRunner.run (ToolRunner.java: 65)
at org.apache.hadoop.util.ToolRunner.run (ToolRunner.java: 79)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.main (LoadIncrementalHFiles.java: 704)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.util.ProgramDriver $ ProgramDescription.invoke (ProgramDriver.java: 68)
at org.apache.hadoop.util.ProgramDriver.driver (ProgramDriver.java: 139)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.hbase.mapreduce.Driver.main (Driver.java: 51)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.util.RunJar.main (RunJar.java: 156)
Caused by: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics
at org.apache.hadoop.hbase.regionserver.metrics.SchemaMetrics.getEffectiveTableName (SchemaMetrics.java: 607)
at org.apache.hadoop.hbase.regionserver.metrics.SchemaMetrics.getInstance (SchemaMetrics.java: 333)
at org.apache.hadoop.hbase.regionserver.metrics.SchemaConfigured.getSchemaMetrics (SchemaConfigured.java: 185)
at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.close (HFileReaderV2.java: 441)
at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.close (HFileReaderV2.java: 419)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.groupOrSplit (LoadIncrementalHFiles.java: 410)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles $ 2.call (LoadIncrementalHFiles.java: 323)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles $ 2.call (LoadIncrementalHFiles.java: 321)
at java.util.concurrent.FutureTask $ Sync.innerRun (FutureTask.java: 303)
at java.util.concurrent.FutureTask.run (FutureTask.java: 138)
at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask (ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 908)
at java.lang.Thread.run (Thread.java: 662)
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.hbase.mapreduce.Driver.main (Driver.java: 51)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.util.RunJar.main (RunJar.java: 156)
Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.groupOrSplitPhase (LoadIncrementalHFiles.java: 344)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.doBulkLoad (LoadIncrementalHFiles.java: 232)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.run (LoadIncrementalHFiles.java: 699)
at org.apache.hadoop.util.ToolRunner.run (ToolRunner.java: 65)
at org.apache.hadoop.util.ToolRunner.run (ToolRunner.java: 79)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.main (LoadIncrementalHFiles.java: 704)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.hadoop.util.ProgramDriver $ ProgramDescription.invoke (ProgramDriver.java: 68)
at org.apache.hadoop.util.ProgramDriver.driver (ProgramDriver.java: 139)
... 10 more
Caused by: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics
at org.apache.hadoop.hbase.regionserver.metrics.SchemaMetrics.getEffectiveTableName (SchemaMetrics.java: 607)
at org.apache.hadoop.hbase.regionserver.metrics.SchemaMetrics.getInstance (SchemaMetrics.java: 333)
at org.apache.hadoop.hbase.regionserver.metrics.SchemaConfigured.getSchemaMetrics (SchemaConfigured.java: 185)
at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.close (HFileReaderV2.java: 441)
at org.apache.hadoop.hbase.io.hfile.HFileReaderV2.close (HFileReaderV2.java: 419)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.groupOrSplit (LoadIncrementalHFiles.java: 410)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles $ 2.call (LoadIncrementalHFiles.java: 323)
at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles $ 2.call (LoadIncrementalHFiles.java: 321)
at java.util.concurrent.FutureTask $ Sync.innerRun (FutureTask.java: 303)
at java.util.concurrent.FutureTask.run (FutureTask.java: 138)
at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask (ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 908)
at java.lang.Thread.run (Thread.java: 662)
by searching http://stackoverflow.com/questions/13883023/hbase-bulk-load-exeception?answertab=active # tab-top, others will be $ HBASE_HOME / conf added to the classpath, java application, and Added SchemaMetrics.configureGlobally (conf).
while I was on the command line to import data, the command is as follows: hadoop jar / mnt/sda3/hadoop/hbase-0.94.3/hbase-0.94.3.jar completebulkload tmp t8
------ For reference only ---------------------------------------

good, it can directly generate the table. However, if large amounts of data, such as tens of millions of rows of data, the speed will not be affected, but through the bulkload faster?
------ For reference only -------------------------------------- -

just searched if an error is Caused by: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics of the problem, which is hbase-0.94.3 of the bug, need to manually update. . . (Https://issues.apache.org/jira/browse/HBASE-4802) I fainted
------ For reference only ---------------- -----------------------

just searched if an error is Caused by: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics of the problem, which is hbase-0.94.3 of the bug, need to manually update. . . (Https://issues.apache.org/jira/browse/HBASE-4802) I fainted ??? ?? ??
??
Do not tangled, and the 0.94.7 bar ?
are planning to do so, thank withheld.
------ For reference only -------------------------------------- -

just searched if an error is Caused by: java.lang.IllegalStateException: The value of the hbase.metrics.showTableName conf option has not been specified in SchemaMetrics of the problem, which is hbase-0.94.3 of the bug, need to manually update. . . (Https://issues.apache.org/jira/browse/HBASE-4802) I fainted ??? ?? ??
??
Do not tangled, and the 0.94.7 bar ?
replaced 0.94.7 version, decisive get!

1 条评论:

  1. How can this code be compiled and executed for testing?

    回复删除