You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mostafa Elhemali (Created) (JIRA)" <ji...@apache.org> on 2012/04/02 20:05:24 UTC

[jira] [Created] (HADOOP-8241) Building package fails under Windows

Building package fails under Windows
------------------------------------

                 Key: HADOOP-8241
                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 0.23.1
         Environment: Windows
            Reporter: Mostafa Elhemali


After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Updated] (HADOOP-8241) Building package fails under Windows

Posted by "Mostafa Elhemali (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mostafa Elhemali updated HADOOP-8241:
-------------------------------------

    Attachment: FixPackageBuild-CommonPart.patch
    
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>             Fix For: 0.23.2
>
>         Attachments: FixPackageBuild-CommonPart.patch, FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Commented] (HADOOP-8241) Building package fails under Windows

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244423#comment-13244423 ] 

Hadoop QA commented on HADOOP-8241:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12521000/FixPackageBuild.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/812//console

This message is automatically generated.
                
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>             Fix For: 0.23.2
>
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Updated] (HADOOP-8241) Building package fails under Windows

Posted by "Mostafa Elhemali (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mostafa Elhemali updated HADOOP-8241:
-------------------------------------

    Attachment: FixPackageBuild.patch

Patch to fix this based on the same pattern pattern utilized by hadoop-mapreduce-project\pom.xml and hadoop-common\pom.xml
                
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Commented] (HADOOP-8241) Building package fails under Windows

Posted by "Mostafa Elhemali (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245521#comment-13245521 ] 

Mostafa Elhemali commented on HADOOP-8241:
------------------------------------------

Per conversation on common-dev: the Hadoop QA can't apply this patch because it runs from a sub-directory, and this patch changes things under hadoop-dist.
The manual testing I did: successfully built using the command "mvn clean package -DskipTests -Pdist -Dtar" under Windows with this patch and the one in MAPREDUCE-3540, and got a single-node cluster up & running. Note that unit tests and some basic functionality (e.g. running MR jobs) are still broken in my Windows environment - which should hopefully be fixed in future JIRA's.
                
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>             Fix For: 0.23.2
>
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Commented] (HADOOP-8241) Building package fails under Windows

Posted by "Harsh J (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461354#comment-13461354 ] 

Harsh J commented on HADOOP-8241:
---------------------------------

Hi Mostafa,

I do not have a Windows env. ready to test this out, but the changes seem to be straight-forward when looking at it. Does this cover out all packages on trunk today, then?

Can you also add a few words on the reason why you've made the switch from the project dir to the base dir specifically, just so we have a record?
                
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-8241) Building package fails under Windows

Posted by "Mostafa Elhemali (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503277#comment-13503277 ] 

Mostafa Elhemali commented on HADOOP-8241:
------------------------------------------

Thanks Harsh. Yes, after applying this and MAPREDUCE-3540 I can (almost) build all of the packages in trunk today on Windows. The one that's still giving me trouble is hadoop-dist on Windows 8 because of the Cygwin cp permissions behavior (see StackOverflow thread [here|http://stackoverflow.com/questions/8421049/how-to-use-cp-exe-from-cygwin-and-preserve-permissions]), but that's another issue.

I didn't switch from project dir to base dir, all this patch does is make sure to use cygpath in Windows.
                
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-8241) Building package fails under Windows

Posted by "Harsh J (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HADOOP-8241:
----------------------------

    Fix Version/s:     (was: 0.23.2)
    
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-8241) Building package fails under Windows

Posted by "Mostafa Elhemali (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mostafa Elhemali updated HADOOP-8241:
-------------------------------------

    Fix Version/s: 0.23.2
           Status: Patch Available  (was: Open)
    
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>             Fix For: 0.23.2
>
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Updated] (HADOOP-8241) Building package fails under Windows

Posted by "Mostafa Elhemali (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mostafa Elhemali updated HADOOP-8241:
-------------------------------------

    Attachment:     (was: FixPackageBuild-CommonPart.patch)
    
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>             Fix For: 0.23.2
>
>         Attachments: FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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

        

[jira] [Commented] (HADOOP-8241) Building package fails under Windows

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244865#comment-13244865 ] 

Hadoop QA commented on HADOOP-8241:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12521081/FixPackageBuild-CommonPart.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/815//console

This message is automatically generated.
                
> Building package fails under Windows
> ------------------------------------
>
>                 Key: HADOOP-8241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8241
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>             Fix For: 0.23.2
>
>         Attachments: FixPackageBuild-CommonPart.patch, FixPackageBuild.patch
>
>
> After applying the patch in [MAPREDUCE-3540|https://issues.apache.org/jira/browse/MAPREDUCE-3540] the build fails if you do "mvn clean package" under Windows, in hadoop-hdfs-project and hadoop-dist.

--
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