Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5686

Cannot upgrade the layout version with -49 from -48

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None
    • Environment:

      CentOS 6.3, JDK 1.6.0_31

      Description

      When we upgraded the layout version from -48 to -49, the following exception output.

      2013-12-19 13:02:28,143 INFO org.apache.hadoop.hdfs.server.namenode.FSImage: Starting upgrade of image directory /hadoop/data1/dfs/name.
         old LV = -48; old CTime = 0.
         new LV = -49; new CTime = 1387425748143
      2013-12-19 13:02:28,160 INFO org.apache.hadoop.hdfs.server.namenode.FSImage: Saving image file /hadoop/data1/dfs/name/current/fsimage.ckpt_0000000000000004837 using no compression
      2013-12-19 13:02:28,191 ERROR org.apache.hadoop.hdfs.server.namenode.FSImage: Unable to save image for /hadoop/data1/dfs/name
      java.lang.NoSuchMethodError: org.apache.hadoop.hdfs.server.namenode.CacheManager.saveState(Ljava/io/DataOutput;Ljava/lang/String;)V
              at org.apache.hadoop.hdfs.server.namenode.FSImageFormat$Saver.save(FSImageFormat.java:1037)
              at org.apache.hadoop.hdfs.server.namenode.FSImage.saveFSImage(FSImage.java:854)
              at org.apache.hadoop.hdfs.server.namenode.FSImage$FSImageSaver.run(FSImage.java:883)
              at java.lang.Thread.run(Thread.java:662)
      2013-12-19 13:02:28,193 ERROR org.apache.hadoop.hdfs.server.common.Storage: Error reported on storage directory Storage Directory /hadoop/data1/dfs/name
      

        Activity

        Hide
        Suresh Srinivas added a comment - - edited

        Can you specify what release versions of Apache Hadoop are you using?

        Show
        Suresh Srinivas added a comment - - edited Can you specify what release versions of Apache Hadoop are you using?
        Hide
        Shinichi Yamashita added a comment -

        The layout version -48 used it which built trunk in December 11. And -49 built trunk four hours ago.

        Show
        Shinichi Yamashita added a comment - The layout version -48 used it which built trunk in December 11. And -49 built trunk four hours ago.
        Hide
        Shinichi Yamashita added a comment -

        I prepared for build environment separately. And Hadoop worked when I built at that environment.
        Thank you.

        Show
        Shinichi Yamashita added a comment - I prepared for build environment separately. And Hadoop worked when I built at that environment. Thank you.

          People

          • Assignee:
            Unassigned
            Reporter:
            Shinichi Yamashita
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development