Member since
09-04-2018
18
Posts
0
Kudos Received
0
Solutions
11-29-2018
05:29 AM
I created another Knox topology whose token has long TTL, and assigned it to NiFi. It's not SSO because Token is separated. I should type my username and password to Ambari even if I already logged in to NiFi. But at least I can logout from Ambari(and don't have to re-login to NiFi each 30 seconds). Thank you for all your help.
... View more
11-28-2018
07:47 AM
@gyadav I'm using NiFi, and Oozie's web UI.
... View more
11-28-2018
03:00 AM
@gyadav I found that knoxsso.token.ttl was 10 hours. I set it 30 seconds and it worked. However,
I want to set long TTL because I'm using other components which
authenticates users by Knox only. If I set TTL 30 seconds, such
components wil require login every 30 seconds. Is there a way like this? 1. make Ambari invalidate JWT not only its own session when I logout from Ambari 2. make Ambari authenticate users by Knox only(forbid to have its own session) Any information helps.
... View more
11-27-2018
12:17 AM
Hi, @Sandeep More When I try to log out, the log below leaves on ambari-audit.log.
2018-11-27T09:12:37.720+0900, User(my user), RemoteIp(ip), Operation(Logout), Status(Success)
2018-11-27T09:12:37.925+0900, User(null), RemoteIp(ip), Operation(User login), Roles(
), Status(Failed), Reason(Authentication required), Consecutive failures(UNKNOWN USER)
2018-11-27T09:12:37.927+0900, User(my user), RemoteIp(ip), Operation(User login), Roles(
SmartSense View: View User, View User, View User, View User, View User, View User, View User, View User
(my domain): Cluster Administrator
Hive View 2.0: View User
Hive View: View User
Ambari: Ambari Administrator
Files View: View User
Tez View: View User
YARN Queue Manager: View User
), Status(Success)
<br>
... View more
11-26-2018
05:32 AM
Hi, I'm using Knox to login Ambari 2.7 and other components. I found that I can't logout from Ambari. When I click "Sign out" button, it redirects to Ambari's login view(/#/login), and then redirects to Dashboard.(/#/main/dashboard/metrics). Login state remains. How could I fix that?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Knox
11-26-2018
12:02 AM
@Shu That works! Thank you for all you replies.
... View more
11-21-2018
04:37 AM
@Shu Thank you, I'll try that. The link isn't working. You meant this page? https://community.hortonworks.com/content/supportkb/193756/automatic-minor-compaction-on-hive-is-not-working.html And, do you have any idea to trigger ReplaceText and PutHiveQL only after some flowfile passed PutHiveStreaming? I think invoking minor compaction for each flowfile is too much when a lot of flowfile comes.
... View more
11-20-2018
09:50 AM
Datas which are inserted into Hive by INSERT INTO command are gotten minor compaction. But the data inserted into Hive using NiFi's PutHive3Streaming aren't gotten minor compaction even if there is enough deltas. Is it possible to make minor compaction(NiFi) work?
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache NiFi
11-13-2018
06:48 AM
Hi @Akhil S Naik, The workaround works perfectly! Thank you for all your kindness.
... View more
11-12-2018
06:15 AM
Hi @Akhil S Naik, thank you for your reply. When
I login as the user, I'm able to see the button. When I click it, at
first it opens new tab for the File View URL, but redirects to the
dashboard. When I input the File View's URL and access directly it goes well. So it seems the button's issue. The
user's role is "NONE", and it has a privilege for Files View inherited
from its group. For now I don't give each user privileges because I
wanna make it easy to manage. Should I give each user privilege if their
role is "NONE"? The atattchments are screenshots of the setting for user and its group. I also checked the setting of Files view. The group is surely listed on "Grant permission to these groups".
... View more