Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebge2emasphere/0fbac847fb7141b22bced4114792a116 to your computer and use it in GitHub Desktop.
Save sebge2emasphere/0fbac847fb7141b22bced4114792a116 to your computer and use it in GitHub Desktop.
Hadoop Spark
JavaPairRDD
.fromRDD(
context.newAPIHadoopRDD(
initializeConfiguration(executorContext, context),
TableInputFormat.class,
ImmutableBytesWritable.class,
Result.class
),
ClassTag$.MODULE$.apply(ImmutableBytesWritable.class),
ClassTag$.MODULE$.apply(Result.class)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment