<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Getting RegionOpeningException while trying to run a phoenix query from zeppelin, what does it mean? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Getting-RegionOpeningException-while-trying-to-run-a-phoenix/m-p/172616#M134905</link>
    <description>&lt;P&gt;I have a secured cluster with HBase, phoenix and zeppelin installed. I have configured my jdbc(phoenix) interpreter as follows&lt;/P&gt;&lt;P&gt;phoenix.password &lt;/P&gt;&lt;P&gt;phoenix.url     jdbc:phoenix:host-1,host-2,host-3:/hbase-secure &lt;/P&gt;&lt;P&gt;phoenix.user     phoenixuser &lt;/P&gt;&lt;P&gt;zeppelin.jdbc.auth.type     KERBEROS &lt;/P&gt;&lt;P&gt;zeppelin.jdbc.keytab.location     /path/to/keytab/zeppelin.server.kerberos.keytab &lt;/P&gt;&lt;P&gt;zeppelin.jdbc.principal     zeppelinxxxxxx@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;I am trying to run a phoenix query as follows&lt;/P&gt;&lt;P&gt;%jdbc(phoenix) &lt;/P&gt;&lt;P&gt;create table if not exists PRICES (
 SYMBOL varchar(10),
 DATE   varchar(10),
 TIME varchar(10),
 OPEN varchar(10),
 HIGH varchar(10),
 LOW    varchar(10),
 CLOSE     varchar(10),
 VOLUME varchar(30),
 CONSTRAINT pk PRIMARY KEY (SYMBOL, DATE, TIME)
)&lt;/P&gt;&lt;P&gt;I am getting following exception:&lt;/P&gt;&lt;PRE&gt;org.apache.phoenix.exception.PhoenixIOException: Failed after attempts=1, exceptions:
Thu Mar 23 18:07:58 UTC 2017, RpcRetryingCaller{globalStartTime=1490292478525, pause=100, retries=1}, org.apache.hadoop.hbase.exceptions.RegionOpeningException: org.apache.hadoop.hbase.exceptions.RegionOpeningException: Region SYSTEM.CATALOG,,1490292472268.e77aa4c58fd9ca2a3c7881bd081c826f. is opening on host-3,16020,1490291571015
	at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3059)
	at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1007)
	at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1942)
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32389)
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2141)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167)


	at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:416)
	at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:564)
	at org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:692)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:489)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
	at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
&lt;/PRE&gt;&lt;P&gt;what does RegionOpeningException indicate?&lt;/P&gt;&lt;P&gt;All my region servers are alive and running, also I am able to create table using hbase shell&lt;/P&gt;&lt;PRE&gt;hbase(main):001:0&amp;gt; whoami

hbase@EXAMPLE.COM (auth:KERBEROS)

    groups: hadoop, hbase


hbase(main):002:0&amp;gt; create 't1','f1', 'f2', 'f3'

0 row(s) in 2.6210 seconds

=&amp;gt; Hbase::Table - t1

hbase(main):003:0&amp;gt;
&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Mar 2017 01:19:49 GMT</pubDate>
    <dc:creator>kbadani</dc:creator>
    <dc:date>2017-03-24T01:19:49Z</dc:date>
    <item>
      <title>Getting RegionOpeningException while trying to run a phoenix query from zeppelin, what does it mean?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-RegionOpeningException-while-trying-to-run-a-phoenix/m-p/172616#M134905</link>
      <description>&lt;P&gt;I have a secured cluster with HBase, phoenix and zeppelin installed. I have configured my jdbc(phoenix) interpreter as follows&lt;/P&gt;&lt;P&gt;phoenix.password &lt;/P&gt;&lt;P&gt;phoenix.url     jdbc:phoenix:host-1,host-2,host-3:/hbase-secure &lt;/P&gt;&lt;P&gt;phoenix.user     phoenixuser &lt;/P&gt;&lt;P&gt;zeppelin.jdbc.auth.type     KERBEROS &lt;/P&gt;&lt;P&gt;zeppelin.jdbc.keytab.location     /path/to/keytab/zeppelin.server.kerberos.keytab &lt;/P&gt;&lt;P&gt;zeppelin.jdbc.principal     zeppelinxxxxxx@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;I am trying to run a phoenix query as follows&lt;/P&gt;&lt;P&gt;%jdbc(phoenix) &lt;/P&gt;&lt;P&gt;create table if not exists PRICES (
 SYMBOL varchar(10),
 DATE   varchar(10),
 TIME varchar(10),
 OPEN varchar(10),
 HIGH varchar(10),
 LOW    varchar(10),
 CLOSE     varchar(10),
 VOLUME varchar(30),
 CONSTRAINT pk PRIMARY KEY (SYMBOL, DATE, TIME)
)&lt;/P&gt;&lt;P&gt;I am getting following exception:&lt;/P&gt;&lt;PRE&gt;org.apache.phoenix.exception.PhoenixIOException: Failed after attempts=1, exceptions:
Thu Mar 23 18:07:58 UTC 2017, RpcRetryingCaller{globalStartTime=1490292478525, pause=100, retries=1}, org.apache.hadoop.hbase.exceptions.RegionOpeningException: org.apache.hadoop.hbase.exceptions.RegionOpeningException: Region SYSTEM.CATALOG,,1490292472268.e77aa4c58fd9ca2a3c7881bd081c826f. is opening on host-3,16020,1490291571015
	at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3059)
	at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1007)
	at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1942)
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32389)
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2141)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167)


	at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:416)
	at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:564)
	at org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:692)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:489)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
	at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
&lt;/PRE&gt;&lt;P&gt;what does RegionOpeningException indicate?&lt;/P&gt;&lt;P&gt;All my region servers are alive and running, also I am able to create table using hbase shell&lt;/P&gt;&lt;PRE&gt;hbase(main):001:0&amp;gt; whoami

hbase@EXAMPLE.COM (auth:KERBEROS)

    groups: hadoop, hbase


hbase(main):002:0&amp;gt; create 't1','f1', 'f2', 'f3'

0 row(s) in 2.6210 seconds

=&amp;gt; Hbase::Table - t1

hbase(main):003:0&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Mar 2017 01:19:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-RegionOpeningException-while-trying-to-run-a-phoenix/m-p/172616#M134905</guid>
      <dc:creator>kbadani</dc:creator>
      <dc:date>2017-03-24T01:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting RegionOpeningException while trying to run a phoenix query from zeppelin, what does it mean?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-RegionOpeningException-while-trying-to-run-a-phoenix/m-p/172617#M134906</link>
      <description>&lt;P&gt;Can you check if there are region-level inconsistencies? To recover try as hbase user&lt;/P&gt;&lt;PRE&gt;hbase hbck -fix&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Mar 2017 03:31:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-RegionOpeningException-while-trying-to-run-a-phoenix/m-p/172617#M134906</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-03-24T03:31:25Z</dc:date>
    </item>
  </channel>
</rss>

