You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by 蒋慧明 <hm...@samsung.com> on 2019/05/23 06:29:41 UTC

Error: Region is not online

Dear

  When I tried to run a job, it report error like this:  


 org.apache.kylin.engine.mr.exception.HadoopShellException:
java.lang.RuntimeException:
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after
attempts=1, exceptions:  
Thu May 23 14:21:30 GMT+08:00 2019,
RpcRetryingCaller{globalStartTime=1558592490643, pause=100, retries=1},
org.apache.hadoop.hbase.NotServingRegionException:
org.apache.hadoop.hbase.NotServingRegionException: Region R1 is not online on
RS1,16020  
at
org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3008)  
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1144)  
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.newRegionScanner(RSRpcServices.java:2476)  
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2757)  
at
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:34950)  
  
---  
  


From HBASE Webui, region R1 is actually located at RS2 (16030).



Anyone know about:

1\. Why Kylin request with the wrong region server? How to fixed it?

2\. Why the requested port 16020 is different with Hbase port 16030? Is it
normal?



Thanks a lot!



> ![](cid:OC322OJWTEAC@namo.co.kr)  
>  
> ---  
>  
>

>

>  
>

>

>  
>

>

> ![](cid:93BIV0UVOUUB@namo.co.kr)  
>  
> ---  
  
  

  

  

![](cid:XOK0LK7CT9SZ@namo.co.kr)  
  
---  
![](http://ext.samsung.net/mail/ext/v1/external/status/update?userid=hm.jiang&do=bWFpbElEPTIwMTkwNTIzMDYyOTQxZXBjbXM1cDM0YTljNzg3ZmQxZGQ3ZmY5MGNiMzBhODgzNWVjYWVkOSZyZWNpcGllbnRBZGRyZXNzPXVzZXJAa3lsaW4uYXBhY2hlLm9yZw__)


Re: Error: Region is not online

Posted by ShaoFeng Shi <sh...@apache.org>.
Hi Huiming,

Have you recovered from this bad situation? When an RS is down, HBase needs
to take a while to identify the bad RS and then move its data to another
RS. How long this will take will depends on several factors. The following
post is discussing it.

https://stackoverflow.com/questions/36579219/how-long-hbase-need-to-take-for-recovering-one-crashed-regionserver

The port may be different if RS found the default port is not available. So
you may need double check HBase's configuration.

Please share with us if you have further information.

Best regards,

Shaofeng Shi 史少锋
Apache Kylin PMC
Email: shaofengshi@apache.org

Apache Kylin FAQ: https://kylin.apache.org/docs/gettingstarted/faq.html
Join Kylin user mail group: user-subscribe@kylin.apache.org
Join Kylin dev mail group: dev-subscribe@kylin.apache.org




蒋慧明 <hm...@samsung.com> 于2019年5月23日周四 下午2:29写道:

> Dear
>
>   When I tried to run a job, it report error like this:
>
>
>  org.apache.kylin.engine.mr.exception.HadoopShellException:
> java.lang.RuntimeException:
> org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after
> attempts=1, exceptions:
> Thu May 23 14:21:30 GMT+08:00 2019,
> RpcRetryingCaller{globalStartTime=1558592490643, pause=100, retries=1},
> org.apache.hadoop.hbase.NotServingRegionException:
> org.apache.hadoop.hbase.NotServingRegionException: Region R1 is not
> online on RS1,16020
> at
> org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3008)
> at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1144)
> at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.newRegionScanner(RSRpcServices.java:2476)
> at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2757)
> at
> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:34950)
>
>
>
> From HBASE Webui, region R1 is actually located at RS2 (16030).
>
>
>
> Anyone know about:
>
> 1. Why Kylin request with the wrong region server? How to fixed it?
>
> 2. Why the requested port 16020 is different with Hbase port 16030? Is it
> normal?
>
>
>
> Thanks a lot!
>
>
>
>>
>>
>>
>>
>
>
>