Question

we have implemented PutTransformer class for our use case. We want to use bucketting concept in ROW KEY ID, so we want to pass the number of Buckets from out side which we will be configured in a config file. Is it possible to read sqoop options in PutTransformer class.

I am passing customized sqoop put transformer class using the option "sqoop.hbase.insert.put.transformer.class".

Any idea on this.

Was it helpful?

Solution

The PutTransformer class is currently not exposing Hadoop's configuration object. I would suggest to file a new feature request on Sqoop JIRA to add such capability!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top