hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5081) DistributedFileSystem#listStatus() throws FileNotFoundException when target of symlink doesn't exist
Date Fri, 09 Aug 2013 00:39:47 GMT

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

Ted Yu updated HDFS-5081:
-------------------------

    Description: 
I was running HBase trunk test suite against hadoop 2.1.1-SNAPSHOT.
One test failed due to:
{code}
org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB  Time elapsed: 1,594,938.629
sec  <<< ERROR!
java.io.FileNotFoundException: File hdfs://localhost:61300/user/tyu/hbase/.archive does not
exist.
  at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:656)
  at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSystem.java:92)
  at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:714)
  at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:710)
  at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:78)
  at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:710)
  at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1478)
  at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1518)
  at org.apache.hadoop.hbase.util.FSUtils.getLocalTableDirs(FSUtils.java:1317)
  at org.apache.hadoop.hbase.migration.NamespaceUpgrade.migrateTables(NamespaceUpgrade.java:114)
  at org.apache.hadoop.hbase.migration.NamespaceUpgrade.upgradeTableDirs(NamespaceUpgrade.java:87)
  at org.apache.hadoop.hbase.migration.NamespaceUpgrade.run(NamespaceUpgrade.java:206)
  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
  at org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB.setUpBeforeClass(TestMetaMigrationConvertingToPB.java:128)
{code}
TestMetaMigrationConvertToPB.tgz was generated from filesystem image produced by previous
release of HBase.
TestMetaMigrationConvertingToPB, activating NamespaceUpgrade, would upgrade it to current
release of HBase.

The test is at hbase-server/src/test/java/org/apache/hadoop/hbase/catalog/TestMetaMigrationConvertingToPB.java
under HBase trunk.

  was:
I was running HBase trunk test suite against hadoop 2.1.1-SNAPSHOT.
One test failed due to:
{code}
org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB  Time elapsed: 1,594,938.629
sec  <<< ERROR!
java.io.FileNotFoundException: File hdfs://localhost:61300/user/tyu/hbase/.archive does not
exist.
  at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:656)
  at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSystem.java:92)
  at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:714)
  at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:710)
  at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:78)
  at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:710)
  at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1478)
  at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1518)
  at org.apache.hadoop.hbase.util.FSUtils.getLocalTableDirs(FSUtils.java:1317)
  at org.apache.hadoop.hbase.migration.NamespaceUpgrade.migrateTables(NamespaceUpgrade.java:114)
  at org.apache.hadoop.hbase.migration.NamespaceUpgrade.upgradeTableDirs(NamespaceUpgrade.java:87)
  at org.apache.hadoop.hbase.migration.NamespaceUpgrade.run(NamespaceUpgrade.java:206)
  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
  at org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB.setUpBeforeClass(TestMetaMigrationConvertingToPB.java:128)
{code}
TestMetaMigrationConvertToPB.tgz was generated from filesystem image produced by previous
release of HBase.
TestMetaMigrationConvertingToPB, activating NamespaceUpgrade, would upgrade it to current
release of HBase.

TestNamespaceUpgrade.tgz was untarred after TestMetaMigrationConvertToPB.tgz

The test is at hbase-server/src/test/java/org/apache/hadoop/hbase/catalog/TestMetaMigrationConvertingToPB.java
under HBase trunk.

    
> DistributedFileSystem#listStatus() throws FileNotFoundException when target of symlink
doesn't exist
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5081
>                 URL: https://issues.apache.org/jira/browse/HDFS-5081
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ted Yu
>         Attachments: TestMetaMigrationConvertToPB.README, TestMetaMigrationConvertToPB.tgz,
TestNamespaceUpgrade.tgz
>
>
> I was running HBase trunk test suite against hadoop 2.1.1-SNAPSHOT.
> One test failed due to:
> {code}
> org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB  Time elapsed: 1,594,938.629
sec  <<< ERROR!
> java.io.FileNotFoundException: File hdfs://localhost:61300/user/tyu/hbase/.archive does
not exist.
>   at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:656)
>   at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSystem.java:92)
>   at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:714)
>   at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:710)
>   at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:78)
>   at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:710)
>   at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1478)
>   at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1518)
>   at org.apache.hadoop.hbase.util.FSUtils.getLocalTableDirs(FSUtils.java:1317)
>   at org.apache.hadoop.hbase.migration.NamespaceUpgrade.migrateTables(NamespaceUpgrade.java:114)
>   at org.apache.hadoop.hbase.migration.NamespaceUpgrade.upgradeTableDirs(NamespaceUpgrade.java:87)
>   at org.apache.hadoop.hbase.migration.NamespaceUpgrade.run(NamespaceUpgrade.java:206)
>   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>   at org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB.setUpBeforeClass(TestMetaMigrationConvertingToPB.java:128)
> {code}
> TestMetaMigrationConvertToPB.tgz was generated from filesystem image produced by previous
release of HBase.
> TestMetaMigrationConvertingToPB, activating NamespaceUpgrade, would upgrade it to current
release of HBase.
> The test is at hbase-server/src/test/java/org/apache/hadoop/hbase/catalog/TestMetaMigrationConvertingToPB.java
under HBase trunk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message