<?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 Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314754#M226175</link>
    <description>Thanks, but I can't see any option that you mentioned, just the options below (see file attached):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Apr 2021 17:51:13 GMT</pubDate>
    <dc:creator>smartman4157</dc:creator>
    <dc:date>2021-04-15T17:51:13Z</dc:date>
    <item>
      <title>Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298813#M219385</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error while executing the phoenix query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Can't get the location for replica 0 (state=08000,code=101)&lt;BR /&gt;org.apache.phoenix.exception.PhoenixIOException: Can't get the location for replica 0&lt;BR /&gt;at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:117)&lt;BR /&gt;at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:1126)&lt;BR /&gt;at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1418)&lt;BR /&gt;at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2190)&lt;BR /&gt;at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:872)&lt;BR /&gt;at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:194)&lt;BR /&gt;at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:343)&lt;BR /&gt;at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:331)&lt;BR /&gt;at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)&lt;BR /&gt;at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:330)&lt;BR /&gt;at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1440)&lt;BR /&gt;at sqlline.Commands.execute(Commands.java:822)&lt;BR /&gt;at sqlline.Commands.sql(Commands.java:732)&lt;BR /&gt;at sqlline.SqlLine.dispatch(SqlLine.java:808)&lt;BR /&gt;at sqlline.SqlLine.begin(SqlLine.java:681)&lt;BR /&gt;at sqlline.SqlLine.start(SqlLine.java:398)&lt;BR /&gt;at sqlline.SqlLine.main(SqlLine.java:292)&lt;BR /&gt;Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the location for replica 0&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;BR /&gt;at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)&lt;BR /&gt;at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)&lt;BR /&gt;at org.apache.hadoop.hbase.util.ForeignExceptionUtil.toIOException(ForeignExceptionUtil.java:45)&lt;BR /&gt;at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.convertResult(HBaseAdmin.java:4821)&lt;BR /&gt;at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.waitProcedureResult(HBaseAdmin.java:4779)&lt;BR /&gt;at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.get(HBaseAdmin.java:4713)&lt;BR /&gt;at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:676)&lt;BR /&gt;at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:1065)&lt;BR /&gt;... 15 more&lt;BR /&gt;Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0&lt;BR /&gt;at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:354)&lt;BR /&gt;at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:159)&lt;BR /&gt;at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:61)&lt;BR /&gt;at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:211)&lt;BR /&gt;at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:327)&lt;BR /&gt;at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:302)&lt;BR /&gt;at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:167)&lt;BR /&gt;at org.apache.hadoop.hbase.client.ClientScanner.&amp;lt;init&amp;gt;(ClientScanner.java:162)&lt;BR /&gt;at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:799)&lt;BR /&gt;at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:602)&lt;BR /&gt;at org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:366)&lt;BR /&gt;at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.prepareCreate(CreateTableProcedure.java:287)&lt;BR /&gt;at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:109)&lt;BR /&gt;at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:58)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:107)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:500)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1086)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:888)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:841)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$200(ProcedureExecutor.java:77)&lt;BR /&gt;at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$1.run(ProcedureExecutor.java:443)&lt;BR /&gt;0: jdbc:phoenix:&amp;gt; Closing: org.apache.phoenix.jdbc.PhoenixConnection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:04:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298813#M219385</guid>
      <dc:creator>Lakshu</dc:creator>
      <dc:date>2020-06-29T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298814#M219386</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79499"&gt;@Lakshu&lt;/a&gt;&amp;nbsp;: Did u get this while running a phoenix sqlline ??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are u trying to run a phoenix sql query within this sqlline utility.. Be precise so that we could get this resolved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:07:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298814#M219386</guid>
      <dc:creator>Govins</dc:creator>
      <dc:date>2020-06-29T11:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298815#M219387</link>
      <description>&lt;P&gt;Yes, while the running the create statement in phoenix-sqlline getting this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:08:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298815#M219387</guid>
      <dc:creator>Lakshu</dc:creator>
      <dc:date>2020-06-29T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298816#M219388</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79499"&gt;@Lakshu&lt;/a&gt;&amp;nbsp;: Seems to be configuration issue, your code doesnt find the correct region as per the configration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go through hbase site xml files for the below configuration parameters, if not found add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hbase.thrift.support.proxyuser --&amp;gt; true&lt;/P&gt;&lt;P&gt;hbase.regionserver.thrift.http --&amp;gt; true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add these configurations and restart the hbase and let me know how this works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:14:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298816#M219388</guid>
      <dc:creator>Govins</dc:creator>
      <dc:date>2020-06-29T11:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298817#M219389</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71246"&gt;@Govins&lt;/a&gt;: Okay i will work and get back to you.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:16:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298817#M219389</guid>
      <dc:creator>Lakshu</dc:creator>
      <dc:date>2020-06-29T11:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298818#M219390</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71246"&gt;@Govins&lt;/a&gt;&amp;nbsp;: Now its working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:42:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298818#M219390</guid>
      <dc:creator>Lakshu</dc:creator>
      <dc:date>2020-06-29T11:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298819#M219391</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79499"&gt;@Lakshu&lt;/a&gt;&amp;nbsp;: thanks for quick response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; good to hear that works ....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:43:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/298819#M219391</guid>
      <dc:creator>Govins</dc:creator>
      <dc:date>2020-06-29T11:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314750#M226171</link>
      <description>&lt;P&gt;Which part (path) within ambari should I change the file parameters in?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 16:10:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314750#M226171</guid>
      <dc:creator>smartman4157</dc:creator>
      <dc:date>2021-04-15T16:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314751#M226172</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes you need to add that&amp;nbsp;&lt;SPAN&gt;parameters into the hbase-site.xml in Ambari UI under HBASE configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 16:13:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314751#M226172</guid>
      <dc:creator>Lakshu</dc:creator>
      <dc:date>2021-04-15T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314754#M226175</link>
      <description>Thanks, but I can't see any option that you mentioned, just the options below (see file attached):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2021 17:51:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314754#M226175</guid>
      <dc:creator>smartman4157</dc:creator>
      <dc:date>2021-04-15T17:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.client.RetriesExhaustedException): Can't get the location for replica 0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314812#M226202</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="config Hbase snapshot.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30929i834F56B2B79BC07B/image-size/large?v=v2&amp;amp;px=999" role="button" title="config Hbase snapshot.JPG" alt="config Hbase snapshot.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 18:35:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Caused-by-org-apache-hadoop-ipc-RemoteException-org-apache/m-p/314812#M226202</guid>
      <dc:creator>smartman4157</dc:creator>
      <dc:date>2021-04-17T18:35:20Z</dc:date>
    </item>
  </channel>
</rss>

