hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: HBase Test issue
Date Mon, 12 Aug 2013 10:59:30 GMT
Hi,

You might most probably want to be more talkative if you are expecting some
help from the community.

Like:

"Hi, I tried HBase version XXX. I did 'this' 'that' and 'that' and doing it
I faced the issue below. Can you please let me know where I should start to
look? Thanks a lot for your help."

So, basic questions to start:
- What were you trying to do;
- What version of HBase are you using;
- How is it configured (Standalone, PseudoDist, full fist, etc.)
- What is the value of dfs.data.dir in your configuration;
- Does the HBase unix user have access to
/opt/tools/hbase-0.94.6-cdh4.3.0/target?
- Have you changed the rights on this directory recently?

JM

2013/8/12 闫昆 <yankunhadoop@gmail.com>

> 2013-08-12 10:10:52,024 WARN  [main] util.MBeans(59):
> Hadoop:service=NameNode,name=MetricsSystem,sub=Control
> javax.management.InstanceAlreadyExistsException: MXBean already registered
> with name Hadoop:service=NameNode,name=MetricsSystem,sub=Control
>
> 2013-08-12 10:10:52,089 WARN  [main] util.MBeans(59):
> Hadoop:service=NameNode,name=FSNamesystemState
> javax.management.InstanceAlreadyExistsException:
> Hadoop:service=NameNode,name=FSNamesystemState
>
> 2013-08-12 10:10:52,090 WARN  [main] util.MBeans(59):
> Hadoop:service=NameNode,name=NameNodeInfo
> javax.management.InstanceAlreadyExistsException:
> Hadoop:service=NameNode,name=NameNodeInfo
>
> 2013-08-12 10:10:53,009 INFO  [main] log.Slf4jLog(67):
> jetty-6.1.26.cloudera.2
> 2013-08-12 10:10:53,022 INFO  [main] log.Slf4jLog(67): Extract
>
> jar:file:/home/yanbit/.m2/repository/org/apache/hadoop/hadoop-core/1.0.4/hadoop-core-1.0.4.jar!/webapps/hdfs
> to /tmp/Jetty_localhost_36924_hdfs____nu5ciq/webapp
> 2013-08-12 10:10:53,281 INFO  [main] log.Slf4jLog(67): Started
> SelectChannelConnector@localhost:36924
> Starting DataNode 0 with dfs.data.dir:
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/53c868ea-a611-4db8-a07c-f6f97fa56fac/dfscluster_93d03cb1-13b8-47a0-937d-a4d68f09bc7a/dfs/data/data1,/opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/53c868ea-a611-4db8-a07c-f6f97fa56fac/dfscluster_93d03cb1-13b8-47a0-937d-a4d68f09bc7a/dfs/data/data2
> 2013-08-12 10:10:53,295 WARN  [main] impl.MetricsSystemImpl(137): Metrics
> system not started: Cannot locate configuration: tried
> hadoop-metrics2-datanode.properties, hadoop-metrics2.properties
> 2013-08-12 10:10:53,295 WARN  [main] util.MBeans(59):
> Hadoop:service=DataNode,name=MetricsSystem,sub=Control
> javax.management.InstanceAlreadyExistsException: MXBean already registered
> with name Hadoop:service=NameNode,name=MetricsSystem,sub=Control
>
> 2013-08-12 10:10:53,302 WARN  [main] datanode.DataNode(1577): Invalid
> directory in dfs.data.dir: Incorrect permission for
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/53c868ea-a611-4db8-a07c-f6f97fa56fac/dfscluster_93d03cb1-13b8-47a0-937d-a4d68f09bc7a/dfs/data/data1,
> expected: rwxr-xr-x, while actual: rwxrwxr-x
> 2013-08-12 10:10:53,306 WARN  [main] datanode.DataNode(1577): Invalid
> directory in dfs.data.dir: Incorrect permission for
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/53c868ea-a611-4db8-a07c-f6f97fa56fac/dfscluster_93d03cb1-13b8-47a0-937d-a4d68f09bc7a/dfs/data/data2,
> expected: rwxr-xr-x, while actual: rwxrwxr-x
> 2013-08-12 10:10:53,307 ERROR [main] datanode.DataNode(1583): All
> directories in dfs.data.dir are invalid.
>
> 013-08-12 10:10:53,347 INFO  [main] hbase.HBaseTestingUtility(611):
> Starting up minicluster with 1 master(s) and 1 regionserver(s) and 1
> datanode(s)
> 2013-08-12 10:10:53,347 INFO  [main] hbase.HBaseTestingUtility(346):
> System.getProperty("hadoop.log.dir") already set to:
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/4bd93844-b81c-49a8-b7d7-57c08b402f49/hadoop-log-dir
> so I do NOT create it in
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/c6cb90be-668a-43c8-a0b4-2ceaaf2cba19
> 2013-08-12 10:10:53,347 INFO  [main] hbase.HBaseTestingUtility(346):
> System.getProperty("hadoop.tmp.dir") already set to:
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/4bd93844-b81c-49a8-b7d7-57c08b402f49/hadoop-tmp-dir
> so I do NOT create it in
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/c6cb90be-668a-43c8-a0b4-2ceaaf2cba19
> 2013-08-12 10:10:53,348 WARN  [main] hbase.HBaseTestingUtility(350):
> hadoop.tmp.dir property value differs in configuration and system:
> Configuration=/tmp/hadoop-yanbit while
>
> System=/opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/4bd93844-b81c-49a8-b7d7-57c08b402f49/hadoop-tmp-dir
> Erasing configuration value by system value.
> 2013-08-12 10:10:53,348 INFO  [main] hbase.HBaseTestingUtility(346):
> System.getProperty("mapred.working.dir") already set to:
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/4bd93844-b81c-49a8-b7d7-57c08b402f49/mapred-working-dir
> so I do NOT create it in
>
> /opt/tools/hbase-0.94.6-cdh4.3.0/target/test-data/c6cb90be-668a-43c8-a0b4-2ceaaf2cba19
> 2013-08-12 10:10:53,949 WARN  [main] impl.MetricsSystemImpl(137): Metrics
> system not started: Cannot locate configuration: tried
> hadoop-metrics2-namenode.properties, hadoop-metrics2.properties
> 2013-08-12 10:10:53,949 WARN  [main] util.MBeans(59):
> Hadoop:service=NameNode,name=MetricsSystem,sub=Control
> javax.management.InstanceAlreadyExistsException: MXBean already registered
> with name Hadoop:service=NameNode,name=MetricsSystem,sub=Control
> --
> In the Hadoop world, I am just a novice, explore the entire Hadoop
> ecosystem, I hope one day I become a bird, travel the whole world I hope
> one day I can contribute their own code
>
> YanBit
> yankunhadoop@gmail.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message