sherlockhua created THRIFT-2381:
-----------------------------------

             Summary: code which generated by thrift2/hbase.thrift complile 
error
                 Key: THRIFT-2381
                 URL: https://issues.apache.org/jira/browse/THRIFT-2381
             Project: Thrift
          Issue Type: Bug
         Environment: hbase-0.94.3
thrift-0.9.1
go version go1.1.2 linux/amd64
ubuntu 3.5.0-23-generic
            Reporter: sherlockhua


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




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to