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

Sort out tarball conf directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.23.0
    • None
    • build
    • None

    Description

      The conf directory situation in the tarball (generated by mvn pacakge -Dtar) is a mess. The top-level conf directory just contains mr2 conf, there are two other incomplete conf dirs:

      hadoop-0.24.0-SNAPSHOT $ ls conf/
      slaves  yarn-env.sh  yarn-site.xml
      hadoop-0.24.0-SNAPSHOT $ find . -name conf
      ./conf
      ./share/hadoop/hdfs/templates/conf
      ./share/hadoop/common/templates/conf
      

      yet there are 4 hdfs-site.xml files:

      hadoop-0.24.0-SNAPSHOT $ find . -name hdfs-site.xml
      ./etc/hadoop/hdfs-site.xml
      ./share/hadoop/hdfs/templates/conf/hdfs-site.xml
      ./share/hadoop/hdfs/templates/hdfs-site.xml
      ./share/hadoop/common/templates/conf/hdfs-site.xml
      

      And it looks like ./share/hadoop/common/templates/conf contains the old MR1 style conf (eg mapred-site.xml).

      We should generate a tarball with a single conf directory that just has common, hdfs and mr2 confs.

      Attachments

        Activity

          People

            eyang Eric Yang
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: