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

Update C code to run with c99 standard

    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

            People

              Unassigned Unassigned
              eyang Eric Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: