Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-785

Kerberized cluster: Embedded hbase fails to comeup because not keytab info is found, resulting in atlas failure.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 0.7-incubating
    • Fix Version/s: 0.7-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Embedded hbase log snapshot:

      2016-05-13 06:26:28,965 INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:61581] server.NIOServerCnxnFactory: Accepted socket connection from /127.0.0.1:55701
      2016-05-13 06:26:28,982 INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:61581] server.NIOServerCnxn: Processing stat command from /127.0.0.1:55701
      2016-05-13 06:26:28,995 INFO  [Thread-2] server.NIOServerCnxn: Stat command output
      2016-05-13 06:26:28,996 INFO  [main] zookeeper.MiniZooKeeperCluster: Started MiniZooKeeperCluster and ran successful 'stat' on client port=61581
      2016-05-13 06:26:28,996 INFO  [main] master.HMasterCommandLine: Starting up instance of localHBaseCluster; master=1, regionserversCount=1
      2016-05-13 06:26:29,006 INFO  [Thread-2] server.NIOServerCnxn: Closed socket connection for client /127.0.0.1:55701 (no session established for client)
      2016-05-13 06:26:32,013 INFO  [main] regionserver.RSRpcServices: master/ranger-erie-suja-test2-2.openstacklocal/172.22.117.31:0 server-side HConnection retries=350
      2016-05-13 06:26:33,009 INFO  [main] ipc.SimpleRpcScheduler: Using deadline as user call queue, count=3
      2016-05-13 06:26:33,248 INFO  [main] ipc.RpcServer: master/ranger-erie-suja-test2-2.openstacklocal/172.22.117.31:0: started 10 reader(s) listening on port=53455
      2016-05-13 06:26:33,652 INFO  [main] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties
      2016-05-13 06:26:33,814 INFO  [main] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).
      2016-05-13 06:26:33,814 INFO  [main] impl.MetricsSystemImpl: HBase metrics system started
      2016-05-13 06:26:33,938 ERROR [main] master.HMasterCommandLine: Master exiting
      java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster
              at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:143)
              at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:219)
              at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:155)
              at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:224)
              at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
              at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2355)
      Caused by: java.io.IOException: Running in secure mode, but config doesn't have a keytab
              at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:235)
              at org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java:386)
              at org.apache.hadoop.hbase.security.User.login(User.java:253)
              at org.apache.hadoop.hbase.security.UserProvider.login(UserProvider.java:115)
              at org.apache.hadoop.hbase.master.HMaster.login(HMaster.java:488)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:549)
              at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:365)
              at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:307)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
              ... 7 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ayubpathan Ayub Pathan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: