util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Debug is true storeKey false useTicketCache false useKeyTab true doNotPrompt false ticketCache is null isInitiator true KeyTab is service.keytab refreshKrb5Config is false principal is user/hmaster@EXAMPLE.COM tryFirstPass is false useFirstPass is false storePass is false clearPass is false principal is user/hmaster@EXAMPLE.COM Will use keytab Commit Succeeded ....

phoenix-dev | Roman Rogozhnikov (JIRA) | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [jira] [Updated] (PHOENIX-2302) Can't connect to secure hbase cluster on MacOS

    phoenix-dev | 2 years ago | Roman Rogozhnikov (JIRA)
    util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Debug is true storeKey false useTicketCache false useKeyTab true doNotPrompt false ticketCache is null isInitiator true KeyTab is service.keytab refreshKrb5Config is false principal is user/hmaster@EXAMPLE.COM tryFirstPass is false useFirstPass is false storePass is false clearPass is false principal is user/hmaster@EXAMPLE.COM Will use keytab Commit Succeeded ....
  2. 0

    Remote JDBC Connection to Phoenix fails

    Stack Overflow | 9 months ago | ravinder
    org.apache.phoenix.exception.PhoenixIOException: Failed after attempts=35, exceptions: Wed Aug 03 18:56:17 IST 2016, RpcRetryingCaller{globalStartTime=1470230766277, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.net.ConnectTimeoutException: 10000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=ip-172-31-15-225.us-west-2.compute.internal/52.32.173.25:16000] Wed Aug 03 18:56:17 IST 2016, RpcRetryingCaller{globalStartTime=1470230766277, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: ip-172-31-15-225.us-west-2.compute.internal/52.32.173.25:16000 Wed Aug 03 18:56:18 IST 2016, RpcRetryingCaller{globalStartTime=1470230766277, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: ip-172-31-15-225.us-west-2.compute.internal/52.32.173.25:16000 Wed Aug 03 18:56:29 IST 2016, RpcRetryingCaller{globalStartTime=1470230766277, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.net.ConnectTimeoutException: 10000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=ip-172-31-15-225.us-west-2.compute.internal/52.32.173.25:16000] Wed Aug 03 18:56:31 IST 2016, RpcRetryingCaller{globalStartTime=1470230766277, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: ip-172-31-15-225.us-west-2.compute.internal/52.32.173.25:16000 Wed Aug 03 19:10:37 IST 2016, RpcRetryingCaller{globalStartTime=1470230766277, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: org.apache.hadoop.net.ConnectTimeoutException: 10000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=ip-172-31-15-225.us-west-2.compute.internal/52.32.173.25:16000] at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:108)

    Root Cause Analysis

    1. org.apache.hadoop.hbase.MasterNotRunningException

      com.google.protobuf.ServiceException: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: .... Call id=34, waitTime=45

      at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$StubMaker.makeStub()
    2. HBase - Client
      HBaseAdmin.getTableDescriptor
      1. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$StubMaker.makeStub(ConnectionManager.java:1533)
      2. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$MasterServiceStubMaker.makeStub(ConnectionManager.java:1553)
      3. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getKeepAliveMasterService(ConnectionManager.java:1704)
      4. org.apache.hadoop.hbase.client.MasterCallable.prepare(MasterCallable.java:38)
      5. org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:124)
      6. org.apache.hadoop.hbase.client.HBaseAdmin.executeCallable(HBaseAdmin.java:3917)
      7. org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor(HBaseAdmin.java:441)
      8. org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor(HBaseAdmin.java:463)
      8 frames
    3. Phoenix Core
      PhoenixDriver.connect
      1. org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:823)
      2. org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1223)
      3. org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:113)
      4. org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1937)
      5. org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:751)
      6. org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:186)
      7. org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:319)
      8. org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:311)
      9. org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
      10. org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:309)
      11. org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1421)
      12. org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1927)
      13. org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1896)
      14. org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77)
      15. org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1896)
      16. org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:180)
      17. org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:132)
      18. org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:151)
      18 frames
    4. sqlline
      Commands.connect
      1. sqlline.DatabaseConnection.connect(DatabaseConnection.java:157)
      2. sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:203)
      3. sqlline.Commands.connect(Commands.java:1064)
      4. sqlline.Commands.connect(Commands.java:996)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. sqlline
      SqlLine.main
      1. sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
      2. sqlline.SqlLine.dispatch(SqlLine.java:804)
      3. sqlline.SqlLine.initArgs(SqlLine.java:588)
      4. sqlline.SqlLine.begin(SqlLine.java:656)
      5. sqlline.SqlLine.start(SqlLine.java:398)
      6. sqlline.SqlLine.main(SqlLine.java:292)
      6 frames