Repository: camel Updated Branches: refs/heads/master db823eaec -> f5ec28b0a
setter to be able to assign UGI Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7f51008d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7f51008d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7f51008d Branch: refs/heads/master Commit: 7f51008d991cd8edaf321af1e5098ca1a3adadc6 Parents: 67144c1 Author: woj-i <wojciechin...@gmail.com> Authored: Wed Oct 21 18:40:54 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue Nov 24 19:07:55 2015 +0100 ---------------------------------------------------------------------- .../org/apache/camel/component/hbase/HBaseEndpoint.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/7f51008d/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseEndpoint.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseEndpoint.java index f89e742..2abc6f1 100644 --- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseEndpoint.java +++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseEndpoint.java @@ -230,8 +230,15 @@ public class HBaseEndpoint extends DefaultEndpoint { this.maxMessagesPerPoll = maxMessagesPerPoll; } + /** + * Defines privileges to communicate with HBase table by {@link #getTable()} + * @param ugi + */ + public void setUgi(UserGroupInformation ugi) { + this.ugi = ugi; + } - /** + /** * Gets connection to the table (secured or not, depends on the object initialization) * please remember to close the table after use * @return table, remember to close!