Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2381

code which generated by thrift2/hbase.thrift compile error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      hbase-0.94.3
      thrift-0.9.1
      go version go1.1.2 linux/amd64
      ubuntu 3.5.0-23-generic

      Description

      command:
      ./bin/thrift -gen go ./hbase/hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift

      complile error:
      src/hbase/ttypes.go:1103: invalid map key type []byte
      src/hbase/ttypes.go:1267: invalid map key type []byte
      src/hbase/ttypes.go:1495: invalid map key type []byte
      src/hbase/ttypes.go:1616: invalid map key type []byte
      src/hbase/ttypes.go:1812: invalid map key type []byte
      src/hbase/ttypes.go:1947: invalid map key type []byte
      src/hbase/ttypes.go:2133: invalid map key type []byte
      src/hbase/ttypes.go:2237: invalid map key type []byte
      src/hbase/ttypes.go:2412: invalid map key type []byte
      src/hbase/ttypes.go:2697: invalid map key type []byte
      src/hbase/ttypes.go:2237: too many errors

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hua zhang sherlockhua
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: