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

container-executor.c: error: expected expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 2.1.0-beta
    • None
    • native
    • None
    • OS X 10.8.2 (12C3103)

    Description

      while I install hadoop-yarn/hadoop-yarn-server on my os x,the error ocurred,err msg :
      [exec] /Users/po/git/hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c:1201:7: error: expected expression
      [exec] stpncpy(buf, ep->d_name, strlen(ep->d_name));
      [exec] ^
      [exec] /usr/include/secure/_string.h:110:41: note: expanded from macro 'stpncpy'
      [exec] ((__darwin_obsz0 (dest) != (size_t -1)) \
      [exec] ^
      [exec] fatal error: too many errors emitted, stopping now [-ferror-limit=]
      [exec] 2 warnings and 20 errors generated.
      [exec] make[2]: *** [CMakeFiles/container.dir/main/native/container-executor/impl/container-executor.c.o] Error 1
      [exec] make[1]: *** [CMakeFiles/container.dir/all] Error 2
      [exec] make: *** [all] Error 2
      help~~~

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lixp xiaopo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 504h
                  504h
                  Remaining:
                  Remaining Estimate - 504h
                  504h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified