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

Windows tarball build fails when enlistment root path is long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk-win
    • None
    • None
    • None

    Description

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

      Shrink the enlistment root path to workaround the problem.

      Attachments

        Issue Links

          Activity

            People

              ivanmi Ivan Mitic
              ivanmi Ivan Mitic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: