atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <>
Subject [jira] [Commented] (ATLAS-682) Set HBase root dir to be relative to test target directory for HBaseBasedAuditRepositoryTest
Date Fri, 06 May 2016 07:26:12 GMT


Hemanth Yamijala commented on ATLAS-682:

+1. Ran test locally and verified in log that the right root directory is being set. Will
commit soon.

> Set HBase root dir to be relative to test target directory for HBaseBasedAuditRepositoryTest
> --------------------------------------------------------------------------------------------
>                 Key: ATLAS-682
>                 URL:
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Hemanth Yamijala
>            Assignee: Shwetha G S
>             Fix For: 0.7-incubating
>         Attachments: ATLAS-682.patch
> Sometimes when running HBaseBasedAuditRepositoryTest, the test is failing with a timeout.
Logs reveal a specific kind of stack trace:
> {code}
> 2016-04-18 15:11:44,437 FATAL - [] ~ Unhandled
exception. Starting shutdown. (HMaster:2098)
> org.apache.hadoop.hbase.util.FileSystemVersionException: HBase file layout needs to be
upgraded. You have version null and I want version 8. Consult
for further information about upgrading HBase. Is your hbase.rootdir valid? If so, you may
need to run 'hbase hbck -fixVersionFile'.
> 	at org.apache.hadoop.hbase.util.FSUtils.checkVersion(
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(
> 	at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(
> 	at org.apache.hadoop.hbase.master.HMaster.access$500(
> 	at org.apache.hadoop.hbase.master.HMaster$
> 	at
> {code}
> It appears that the HBase root directory is being set to /tmp/hbase-{username} and if
this has left over data it is failing. Under Mac OSX - this is resolving to a very hard to
find directory by itself. Filing this to see if we can fix the temporary directories to be
under the target folder of the module so that mvn clean actually will fix problems.

This message was sent by Atlassian JIRA

View raw message