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

Update C code to run with c99 standard

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Several files in Hadoop common uses gnu99 standard for writing code. This includes:

      • inline assembly in bulk_crc32_x86.c
      • assignment between function pointer and ‘void *’ in SnappyCompressor.c.

      Apache httpd server and important Apache projects are using c89 standard for coding. It would be nice if Hadoop can compile using c99 standard to avoid grey area with GPL license.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            eyang Eric Yang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment