put包下面有方法 但是我使用之后报错
[error] /usr/local/spark/test/TopK.scala:53: value addColumn is not a member of org.apache.hadoop.hbase.client.Put
[error] p.addColumn(Bytes.toBytes("basic"),Bytes.toBytes("top"),Bytes.toBytes(triple._2))
[error] ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 9 s, completed May 17, 2016 3:04:44 AM
我明明去查了有这个方法的
这是为什么呢? 怎么去解决呢?
|
|