PHOENIX-4446 Sequence table region opening failing because of property setting attempt on read-only configuration-addendum(Rajeshbabu)
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/6add7973 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/6add7973 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/6add7973 Branch: refs/heads/4.x-cdh5.11.2 Commit: 6add7973368107494725d6eb9f3bc43ea4674f58 Parents: 4ff394d Author: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Authored: Tue Dec 12 10:13:29 2017 +0000 Committer: Pedro Boado <pbo...@apache.org> Committed: Wed Jan 31 22:24:48 2018 +0000 ---------------------------------------------------------------------- .../wal/WALReplayWithIndexWritesAndCompressedWALIT.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/6add7973/phoenix-core/src/it/java/org/apache/hadoop/hbase/regionserver/wal/WALReplayWithIndexWritesAndCompressedWALIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/hadoop/hbase/regionserver/wal/WALReplayWithIndexWritesAndCompressedWALIT.java b/phoenix-core/src/it/java/org/apache/hadoop/hbase/regionserver/wal/WALReplayWithIndexWritesAndCompressedWALIT.java index a7f17ec..542e640 100644 --- a/phoenix-core/src/it/java/org/apache/hadoop/hbase/regionserver/wal/WALReplayWithIndexWritesAndCompressedWALIT.java +++ b/phoenix-core/src/it/java/org/apache/hadoop/hbase/regionserver/wal/WALReplayWithIndexWritesAndCompressedWALIT.java @@ -60,6 +60,7 @@ import org.apache.phoenix.hbase.index.covered.ColumnGroup; import org.apache.phoenix.hbase.index.covered.CoveredColumn; import org.apache.phoenix.hbase.index.covered.CoveredColumnIndexSpecifierBuilder; import org.apache.phoenix.hbase.index.util.TestIndexManagementUtil; +import org.apache.phoenix.query.QueryServices; import org.apache.phoenix.util.ConfigUtil; import org.junit.After; import org.junit.Before; @@ -100,6 +101,7 @@ public class WALReplayWithIndexWritesAndCompressedWALIT { setupCluster(); Path hbaseRootDir = UTIL.getDataTestDir(); this.conf = HBaseConfiguration.create(UTIL.getConfiguration()); + this.conf.setBoolean(QueryServices.INDEX_FAILURE_THROW_EXCEPTION_ATTRIB, false); this.fs = UTIL.getDFSCluster().getFileSystem(); this.hbaseRootDir = new Path(this.conf.get(HConstants.HBASE_DIR)); this.oldLogDir = new Path(this.hbaseRootDir, HConstants.HREGION_OLDLOGDIR_NAME);