[ 
https://issues.apache.org/jira/browse/HDFS-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206634#comment-13206634
 ] 

Uma Maheswara Rao G commented on HDFS-2942:
-------------------------------------------

Yes, i also faced this. Thanks Aaron for filing it.
Looks it is a problem with zk test ClientBase issue (library 
zookeeper-3.4.2-tests.jar). May be worth rasing in zookeeper?

How about extending ClinetBase in Hadoop as a workaround for now?
for example like:
{code}
class HadoopZKClientBase extends ClientBase{
  @Override
  public void setUp() throws Exception {
    new File(System.getProperty("build.test.dir", "build")).mkdirs();
    super.setUp();
  }
}{code}
                
> HA: TestActiveStandbyElectorRealZK fails if build dir does not exist
> --------------------------------------------------------------------
>
>                 Key: HDFS-2942
>                 URL: https://issues.apache.org/jira/browse/HDFS-2942
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>
> TestActiveStandbyElectorRealZK will fail with a FNF IOE if 
> hadoop-common-project/hadoop-common/build does not exist prior to running the 
> test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to