XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      The thread local string used for hdfsGetLastError wasn't reset between calls so it could give stale results in confusing ways. Now it gets reset with a placeholder that says that <functionname> hasn't set an error string.

      Also fixed indentation that wasn't consistent + marked which functions are used by the hdfs.h API and hdfs_ext.h API to make it easier to see when changes could break compatibility. Included some minor cleanup for the common case catch blocks.

        Attachments

        1. HDFS-11544.HDFS-8707.000.patch
          40 kB
          James Clampffer
        2. HDFS-11544.HDFS-8707.001.patch
          40 kB
          James Clampffer
        3. HDFS-11544.HDFS-8707.002.patch
          39 kB
          James Clampffer

          Activity

            People

            • Assignee:
              James C James Clampffer
              Reporter:
              James C James Clampffer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: