Support Questions

Find answers, ask questions, and share your expertise

How do I add a library to hbase-indexer classpath?

avatar
Rising Star

Hi,

 

What is the best way to add a library to lily indexer's classpath?

Is there an option to do this via the Cloudera manager?

I am looking for an CDH upgrade-friendly approach.

 

Thanks,

Gin

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Yes there is.

 

In Cloudera Manager :

- Go to the Key value store indexer configuration > service wide > advanced

- add in the "Key-value store indexer service environnement advanced configuration snippet (safety valve)" the following information :

HBASE_INDEXER_CLASSPATH=<your_classpath>

Restart the service.

 

regards,

Mathieu

View solution in original post

3 REPLIES 3

avatar
Super Collaborator

Yes there is.

 

In Cloudera Manager :

- Go to the Key value store indexer configuration > service wide > advanced

- add in the "Key-value store indexer service environnement advanced configuration snippet (safety valve)" the following information :

HBASE_INDEXER_CLASSPATH=<your_classpath>

Restart the service.

 

regards,

Mathieu

avatar
New Contributor

Hi, thanks for your addition.

Does it mean you also have to "manually" deploy all required third-party jars into each server?

Regards, 

avatar
Rising Star
Yes