[
https://issues.apache.org/jira/browse/HDFS-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174740#comment-13174740
]
Uma Maheswara Rao G commented on HDFS-2623:
-------------------------------------------
Hi Todd,
Is this tests started passing for you now?
Still they are failing for me in local box (Windows).
java.io.IOException: The process cannot access the file because another process
has locked a portion of the file
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:177)
at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:75)
at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:49)
at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:95)
at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:328)
at
org.apache.hadoop.hdfs.MiniDFSCluster.copyNameDirs(MiniDFSCluster.java:672)
at
org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:616)
at
org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:542)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:274)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:102)
at
org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:256)
at
org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyIsHot.testStandbyIsHot
Do i need to configure somethings extra here?
Thanks
Uma
> HA: Add test case for hot standby capability
> --------------------------------------------
>
> Key: HDFS-2623
> URL: https://issues.apache.org/jira/browse/HDFS-2623
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, test
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: HA branch (HDFS-1623)
>
> Attachments: hdfs-2623.txt
>
>
> Putting up a fairly simple test case I wrote that verifies that the standby
> is kept "hot"
--
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