Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1242

dfs upgrade/downgrade problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • None
    • None

    Description

      I ran my test cluster on 0.13 and then tried to run it under 0.12. When I downgraded, the namenode would not come up and the message said I needed to format the filesystem. I ignored that and tried to restart on 0.13, now the datanode will not come up with:

      2007-04-10 11:25:37,448 ERROR org.apache.hadoop.dfs.DataNode: org.apache.hadoop.
      dfs.InconsistentFSStateException: Directory /local/owen/hadoop/dfs/d
      ata is in an inconsistent state: Old layout block directory /local/owen/hadoop/dfs/data/data is missing
      at org.apache.hadoop.dfs.DataStorage.isConversionNeeded(DataStorage.java
      :170)
      at org.apache.hadoop.dfs.Storage$StorageDirectory.analyzeStorage(Storage
      .java:264)
      at org.apache.hadoop.dfs.DataStorage.recoverTransitionRead(DataStorage.j
      ava:83)
      at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:230)
      at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:199)
      at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:1175)
      at org.apache.hadoop.dfs.DataNode.run(DataNode.java:1119)
      at org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:1140)
      at org.apache.hadoop.dfs.DataNode.main(DataNode.java:1299)

      Attachments

        1. failPreUpgradeVersion3.patch
          10 kB
          Konstantin Shvachko
        2. failPreUpgradeVersion2.patch
          5 kB
          Nigel Daley
        3. failPreUpgradeVersion.patch
          5 kB
          Konstantin Shvachko
        4. clean-upgrade.patch
          1 kB
          Owen O'Malley

        Activity

          People

            shv Konstantin Shvachko
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: