hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Navadiya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14682) RBF: TestStateStoreFileSystem failed because /tmp/hadoop/dfs/name/current can't be removed
Date Thu, 08 Aug 2019 23:00:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-14682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Navadiya updated HDFS-14682:
-----------------------------------
    Attachment: HDFS-14682.002.patch

> RBF: TestStateStoreFileSystem failed because /tmp/hadoop/dfs/name/current can't be removed
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14682
>                 URL: https://issues.apache.org/jira/browse/HDFS-14682
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>            Reporter: Wei-Chiu Chuang
>            Assignee: Nikhil Navadiya
>            Priority: Minor
>         Attachments: HDFS-14682.001.patch, HDFS-14682.002.patch
>
>
> I happen to have /tmp/hadoop owned by root, and TestStateStoreFileSystem failed to delete
this directory. 
> {noformat}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.156 s <<<
FAILURE! - in org.apache.hadoop.hdfs.server.federation.store.driver.TestStateStoreFileSystem
> [ERROR] org.apache.hadoop.hdfs.server.federation.store.driver.TestStateStoreFileSystem
 Time elapsed: 1.153 s  <<< ERROR!
> java.io.IOException: Cannot remove current directory: /tmp/hadoop/dfs/name/current
>         at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:358)
>         at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:571)
>         at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:592)
>         at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:172)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1172)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:403)
>         at org.apache.hadoop.hdfs.DFSTestUtil.formatNameNode(DFSTestUtil.java:234)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.configureNameService(MiniDFSCluster.java:1065)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:986)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:883)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:516)
>         at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:475)
>         at org.apache.hadoop.hdfs.server.federation.store.driver.TestStateStoreFileSystem.setupCluster(TestStateStoreFileSystem.java:48)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379)
>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340)
>         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message