spark_hbase:Scala中的示例通过Spark读取保存在hbase中的数据,以及python的转换器示例

时间:2021-05-03 07:34:42
【文件属性】:
文件名称:spark_hbase:Scala中的示例通过Spark读取保存在hbase中的数据,以及python的转换器示例
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-03 07:34:42
Shell spark_hbase Spark有自己的示例,该示例将HBase和Spark集成到scala 和python转换器。 但是, HBaseResultToStringConverter中的python转换器HBaseResultToStringConverter 返回结果中第一列的值。 并且仅在返回org.apache.hadoop.hbase.client.Result并执行.count()调用时停止。 在这里,我们提供了Scala中的一个新示例,该示例涉及通过Spark将hbase中保存的数据传输到String ,以及python转换器的新示例。 scala 的示例将保存在hbase中的数据传输到RDD[String] ,该数据包含columnFamily,qualifier,timestamp,type,value 。 python的转换器示例将hbase中保存的数据传输到
【文件预览】:
spark_hbase-master
----.gitignore(218B)
----hbase_input.py(2KB)
----project()
--------plugins.sbt(267B)
--------build.properties(79B)
----src()
--------main()
--------test()
----sbt()
--------sbt-launch-lib.bash(5KB)
--------sbt(5KB)
----LICENSE(11KB)
----README.md(5KB)
----build.sbt(761B)

网友评论