sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "richard zhou" <richard.z...@intel.com>
Subject Re: Review Request 32196: SQOOP-2227: SQOOP2: Clear connector cache in ShowConnectorFunction.java
Date Mon, 23 Mar 2015 08:58:41 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated March 23, 2015, 8:58 a.m.)

Review request for Sqoop.

Repository: sqoop-sqoop2


The root cause of avoiding connector cache is this case:
When a user without privilege of READ CONNECTOR runs a "show connector" in CLI, the result
page shows nothing.
Then this user is granted READ CONNECTOR privilege. But he could not show all connector immediately,
due to connector cache, unless he restart the Sqoop Client.

Diffs (updated)

  shell/src/main/java/org/apache/sqoop/shell/GrantPrivilegeFunction.java ccf898844b88d11cc710584d748dc794c3b6b525

  shell/src/main/java/org/apache/sqoop/shell/RevokePrivilegeFunction.java e0b86cf067c0c27301c4dbefd2a5ca99eab428c3

Diff: https://reviews.apache.org/r/32196/diff/




richard zhou

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message