hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sung Ho Kim (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2723) tomcat tar in the apache archive is corrupted
Date Thu, 09 Feb 2012 06:15:59 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204299#comment-13204299
] 

Sung Ho Kim commented on HDFS-2723:
-----------------------------------

I don't know if this will help but the pom.xml file under hadoop-hdfs-httpfs has the following
content:

-----------------
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
-----------------

I noticed that the maven-antrun-plugin version is not specified.  I tried modifying the aforementioned
pom.xml as follows:

---------------------
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <version>1.7</version> <!-- ADDED version specification -->
            <executions>
              <execution>
---------------------

and low and behold the build succeeded.  I also checked that the antrun plugin was defaulting
to 1.3 if not specified as above, so I am suspecting an antrun plugin issue, but I maybe wrong.
                
> tomcat tar in the apache archive is corrupted
> ---------------------------------------------
>
>                 Key: HDFS-2723
>                 URL: https://issues.apache.org/jira/browse/HDFS-2723
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>         Environment: linux , Windows
>            Reporter: chackaravarthy
>             Fix For: 0.23.0
>
>
> when running mvn package , getting the following error and hence not able to create tarball
> {noformat}
>     [mkdir] Created dir: /root/ravi/mapred/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/tomcat.exp
>      [exec] Current OS is Linux
>      [exec] Executing 'sh' with arguments:
>      [exec] './tomcat-untar.sh'
>      [exec] 
>      [exec] The ' characters around the executable and arguments are
>      [exec] not part of the command.
> Execute:Java13CommandLauncher: Executing 'sh' with arguments:
> './tomcat-untar.sh'
> The ' characters around the executable and arguments are
> not part of the command.
>      [exec] 
>      [exec] gzip: stdin: unexpected end of file
>      [exec] tar: Unexpected EOF in archive
>      [exec] tar: Unexpected EOF in archive
>      [exec] tar: Error is not recoverable: exiting now
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Hadoop Main ................................ SUCCESS [7.984s]
> [INFO] Apache Hadoop Project POM ......................... SUCCESS [3.028s]
> [INFO] Apache Hadoop Annotations ......................... SUCCESS [5.451s]
> [INFO] Apache Hadoop Assemblies .......................... SUCCESS [2.987s]
> [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [13.675s]
> [INFO] Apache Hadoop Auth ................................ SUCCESS [5.766s]
> [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [6.258s]
> [INFO] Apache Hadoop Common .............................. SUCCESS [3:50.945s]
> [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.539s]
> [INFO] Apache Hadoop HDFS ................................ SUCCESS [3:01.761s]
> [INFO] Apache Hadoop HttpFS .............................. FAILURE [30.532s]
> {noformat}
> It is because the tomcat tarball available in "http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz"
is corrupted.
> Getting "Unexpected End of Archive" when trying to untar this tarball.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message