hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijit Suresh Shingate (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-2951) Problem while building hadoop trunk on Windows 7
Date Thu, 08 Sep 2011 11:03:08 GMT
Problem while building hadoop trunk on Windows 7
------------------------------------------------

                 Key: MAPREDUCE-2951
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2951
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: build, mrv2
    Affects Versions: 0.23.0, 0.24.0
         Environment: Windows 7
Cygwin-1.7
apache-maven-3.0.3
java version 1.6.0_17
            Reporter: Abhijit Suresh Shingate


Hi All,
I am facing problem with generating tar files for all hadoop modbles.
The generated tar files are not correct. 
For example, for hadoop-common-0.24.0-SNAPSHOT.tar.gz file/bin folder is missing all sh files.

Because of this i am not able to launch hdfs or mapreduce.

To generate the tar file i used following command

*mvn package -Pdist -Dtar -DskipTests -P-cbuild -Dcommons.daemon.os.name=linux -Dcommons.daemon.os.arch=i686
-X*

I am not maven expert but following is the part of the debug information generated by above
command talks about excluding *.sh file from assembly.

[DEBUG]   (s) siteDirectory = D:\iSAP\Hadoop\SVN\trunk\hadoop-common-project\hadoop-common\target\site
[DEBUG]   (f) skipAssembly = false
[DEBUG]   (s) tarLongFileMode = warn
[DEBUG]   (s) tempRoot = D:\iSAP\Hadoop\SVN\trunk\hadoop-common-project\hadoop-common\target\archive-tmp
[DEBUG]   (s) workDirectory = D:\iSAP\Hadoop\SVN\trunk\hadoop-common-project\hadoop-common\target\assembly\work
[DEBUG] -- end configuration --
[DEBUG] Before assembly is interpolated:

<?xml version="1.0" encoding="UTF-8"?><assembly>
  <id>hadoop-distro</id>
  <formats>
    <format>dir</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <directory>${basedir}/src/main/bin</directory>
      <outputDirectory>/bin</outputDirectory>
      <excludes>
        <exclude>*.sh</exclude>
      </excludes>
      <fileMode>0755</fileMode>
    </fileSet>


Anyone has any idea about this?


Thanks & Regards,
Abhijit


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message