phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Poon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4992) Handle StaleRegionBoundaryException in PhoenixRecordReader for MR jobs
Date Wed, 24 Oct 2018 23:46:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vincent Poon updated PHOENIX-4992:
----------------------------------
    Description: 
Found this when running IndexToolIT:
If a table region is offline while the PhoenixRecordReader runs, it hits a StaleRegionBoundaryException
and the job fails.


2018-10-24 16:02:07,043 ERROR [LocalJobRunner Map Task Executor #0] org.apache.phoenix.mapreduce.PhoenixRecordReader(177):
 Error [ERROR 1108 (XCL08): Cache of region boundaries are out of date.] occurred while iterating
over the resultset. 
2018-10-24 16:02:07,047 WARN  [Thread-992] org.apache.hadoop.mapred.LocalJobRunner$Job(560):
job_local2024601432_0002
java.lang.Exception: java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL08): Cache of region boundaries are out of date.
	at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)
Caused by: java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL08): Cache of region boundaries are out of date.
	at org.apache.phoenix.mapreduce.PhoenixRecordReader.nextKeyValue(PhoenixRecordReader.java:178)
	at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:556)

  was:
If a table region is offline while the PhoenixRecordReader runs, it hits a StaleRegionBoundaryException
and the job fails.

2018-10-24 16:02:07,043 ERROR [LocalJobRunner Map Task Executor #0] org.apache.phoenix.mapreduce.PhoenixRecordReader(177):
 Error [ERROR 1108 (XCL08): Cache of region boundaries are out of date.] occurred while iterating
over the resultset. 
2018-10-24 16:02:07,047 WARN  [Thread-992] org.apache.hadoop.mapred.LocalJobRunner$Job(560):
job_local2024601432_0002
java.lang.Exception: java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL08): Cache of region boundaries are out of date.
	at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)
Caused by: java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL08): Cache of region boundaries are out of date.
	at org.apache.phoenix.mapreduce.PhoenixRecordReader.nextKeyValue(PhoenixRecordReader.java:178)
	at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:556)


> Handle StaleRegionBoundaryException in PhoenixRecordReader for MR jobs
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-4992
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4992
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0
>            Reporter: Vincent Poon
>            Priority: Major
>
> Found this when running IndexToolIT:
> If a table region is offline while the PhoenixRecordReader runs, it hits a StaleRegionBoundaryException
and the job fails.
> 2018-10-24 16:02:07,043 ERROR [LocalJobRunner Map Task Executor #0] org.apache.phoenix.mapreduce.PhoenixRecordReader(177):
 Error [ERROR 1108 (XCL08): Cache of region boundaries are out of date.] occurred while iterating
over the resultset. 
> 2018-10-24 16:02:07,047 WARN  [Thread-992] org.apache.hadoop.mapred.LocalJobRunner$Job(560):
job_local2024601432_0002
> java.lang.Exception: java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL08): Cache of region boundaries are out of date.
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)
> Caused by: java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL08): Cache of region boundaries are out of date.
> 	at org.apache.phoenix.mapreduce.PhoenixRecordReader.nextKeyValue(PhoenixRecordReader.java:178)
> 	at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:556)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message