Ivan Mitic created HDFS-4303:
--------------------------------

             Summary: Windows tarball build fails when enlistment root path is 
long
                 Key: HDFS-4303
                 URL: https://issues.apache.org/jira/browse/HDFS-4303
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: trunk-win
            Reporter: Ivan Mitic
            Assignee: Ivan Mitic


Build error: 

     [copy] Copying 2 files to 
I:\svn\branch-trunk-win\hadoop-hdfs-project\hadoop-hdfs-httpfs\target\hadoop-hdfs-httpfs-3.0.0-SNAPSHOT\share\hadoop\httpfs\tomca
t\webapps\ROOT
     [copy] Copying 176 files to 
I:\svn\branch-trunk-win\hadoop-hdfs-project\hadoop-hdfs-httpfs\target\hadoop-hdfs-httpfs-3.0.0-SNAPSHOT\share\hadoop\httpfs\tom
cat\webapps\webhdfs
     [copy] Copied 23 empty directories to 1 empty directory under 
I:\svn\branch-trunk-win\hadoop-hdfs-project\hadoop-hdfs-httpfs\target\hadoop-hdfs-httpfs-3.0.
0-SNAPSHOT\share\hadoop\httpfs\tomcat\webapps\webhdfs
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (tar) @ hadoop-hdfs-httpfs ---
[INFO] Executing tasks

main:
     [exec] Traceback (most recent call last):
     [exec]   File "dist-maketar.py", line 9, in <module>
     [exec]     tar.add(dir_name, arcname=base_name)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1997, in add
     [exec]     recursive, exclude, filter)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1973, in add
     [exec]     tarinfo = self.gettarinfo(name, arcname)
     [exec]   File "I:\git\tools\Python27\lib\tarfile.py", line 1845, in 
gettarinfo
     [exec]     statres = os.lstat(name)
     [exec] WindowsError: [Error 3] The system cannot find the path specified: 
'I:\\svn\\branch-trunk-win\\hadoop-hdfs-project\\hadoop-hdfs-httpfs\\target\\hado
op-hdfs-httpfs-3.0.0-SNAPSHOT\\share\\hadoop\\httpfs\\tomcat\\webapps\\webh
     [exec] 
dfs\\WEB-INF\\classes\\org\\apache\\hadoop\\lib\\service\\security\\DelegationTokenManagerService$DelegationTokenSecretManager.class'
[INFO] ------------------------------------------------------------------------


Shrinking the enlistment root path can workaround the problem. 

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

Reply via email to