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

code which generated by thrift2/hbase.thrift compile error

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • None
    • None
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment