You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/01/24 09:43:00 UTC
[jira] [Commented] (HBASE-20870) Wrong HBase root dir in ITBLL's
Search Tool
[ https://issues.apache.org/jira/browse/HBASE-20870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750939#comment-16750939 ]
Hudson commented on HBASE-20870:
--------------------------------
Results for branch branch-1
[build #650 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/650/]: (x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/650//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk7 checks{color}
-- For more information [see jdk7 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/650//JDK7_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/650//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 source release artifact{color}
-- See build output for details.
> Wrong HBase root dir in ITBLL's Search Tool
> -------------------------------------------
>
> Key: HBASE-20870
> URL: https://issues.apache.org/jira/browse/HBASE-20870
> Project: HBase
> Issue Type: Bug
> Components: integration tests
> Affects Versions: 3.0.0, 2.1.0, 2.0.1
> Reporter: Allan Yang
> Assignee: Allan Yang
> Priority: Minor
> Fix For: 3.0.0, 1.5.0, 2.2.0, 2.1.1, 2.0.2
>
> Attachments: HBASE-20870.branch-2.0.001.patch, HBASE-20870.branch-2.0.002.patch, HBASE-20870.branch-2.0.003.patch
>
>
> When using IntegrationTestBigLinkedList's Search tools, it always fails since it tries to read WALs in a wrong HBase root dir. Turned out that when initializing IntegrationTestingUtility in IntegrationTestBigLinkedList, its super class HBaseTestingUtility will change hbase.rootdir to a local random dir. It is not wrong since HBaseTestingUtility is mostly used by Minicluster. But for IntegrationTest runs on distributed clusters, we should change it back.
> Here is the error info.
> {code:java}
> 2018-07-11 16:35:49,679 DEBUG [main] hbase.HBaseCommonTestingUtility: Setting hbase.rootdir to /home/hadoop/target/test-data/deb67611-2737-4696-abe9-32a7783df7bb
> 2018-07-11 16:35:50,736 ERROR [main] util.AbstractHBaseTool: Error running command-line tool java.io.FileNotFoundException: File file:/home/hadoop/target/test-data/deb67611-2737-4696-abe9-32a7783df7bb/WALs does not exist
> at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:431)
> at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1517)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)