FAQ
Region server dosenot start other than hmaster. Here is error log.

Thanks in advance

nick



+ exec /usr/lib/hbase/bin/hbase --config /var/run/cloudera-scm-agent/process/36-hbase-REGIONSERVER regionserver start Exception in thread "regionserver60020" java.lang.NullPointerException at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:697) at java.lang.Thread.run(Thread.java:662) Exception in thread "main" java.lang.IllegalArgumentException: java.net.UnknownHostException: abc.corp.lan at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:400) at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:161) at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:126) at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:327) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:121) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2150) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:80) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2184) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2166) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:302) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:158) at org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3236) at org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3220) at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61) at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:75) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76) at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3280) Caused by: java.net.UnknownHostException: abc.corp.lan ... 19 more

Search Discussions

  • Keamas at Jul 5, 2012 at 10:44 am
    Which Distribution and Java Version are you using ? I have kind of the same
    problem with Ubuntu 10.04 and 12.04 when installing CDH3 und CDH4 with the
    Manager always one of the services doesn't come up.
    I am using 4 Nodes on Vmware
  • bc Wong at Jul 5, 2012 at 3:38 pm

    On Thu, Jul 5, 2012 at 3:40 AM, nick wrote:

    Region server dosenot start other than hmaster. Here is error log.

    Thanks in advance

    nick



    + exec /usr/lib/hbase/bin/hbase --config /var/run/cloudera-scm-agent/process/36-hbase-REGIONSERVER regionserver start Exception in thread "regionserver60020" java.lang.NullPointerException at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:697) at java.lang.Thread.run(Thread.java:662) Exception in thread "main" java.lang.IllegalArgumentException: java.net.UnknownHostException: abc.corp.lan at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:400) at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:161) at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:126) at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:327) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:121) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2150) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:80) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2184) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2166) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:302) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:158) at org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3236) at org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3220) at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61) at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:75) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76) at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3280) Caused by: java.net.UnknownHostException: abc.corp.lan ... 19 more

    Hi Nick,
    There is:

    java.net.UnknownHostException: abc.corp.lan at
    org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:400)

    Is DNS setup correctly? If you're using CM 4.0, you can run the "Host
    Inspector" under the "Hosts" page to find out.

    Cheers,
    --
    bc Wong
    Cloudera Software Engineer


    --
    bc Wong
    Cloudera Software Engineer

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJul 5, '12 at 10:40a
activeJul 5, '12 at 3:38p
posts3
users3
websitecloudera.com
irc#hadoop

3 users in discussion

Nick: 1 post bc Wong: 1 post Keamas: 1 post

People

Translate

site design / logo © 2022 Grokbase