Skip to content

[ZEPPELIN-826] Run scheduled notes with a user#856

Closed
prasadwagle wants to merge 2 commits intoapache:masterfrom
prasadwagle:ZEPPELIN-826
Closed

[ZEPPELIN-826] Run scheduled notes with a user#856
prasadwagle wants to merge 2 commits intoapache:masterfrom
prasadwagle:ZEPPELIN-826

Conversation

@prasadwagle
Copy link
Copy Markdown

What is this PR for?

As a user, I would like to run scheduled note paragraphs with my user. This user information is passed to data sources like presto by the HiveInterpreter.

What type of PR is it?

Improvement

Todos

  • - Investigate better ways of cronExecutingUser input

What is the Jira issue?

ZEPPELIN-826

How should this be tested?

Outline the steps to test the PR here.

Screenshots (if appropriate)

Questions:

@Leemoonsoo
Copy link
Copy Markdown
Member

I think #860 is related to this issue, too.
After Zeppelin restarts, scheduled notebooks are going to be executed. However credentials from #860 might not be available unless user login and provide credentials again. @prasadwagle Do you have any good idea on it?

@prasadwagle
Copy link
Copy Markdown
Author

@Leemoonsoo I added "Save user credentials in a file with encryption" TODO in #860. We decided to hold off on this feature since our security team told us that the risks were high (even with encryption) and we would have to deal with regulatory requirements. I will implement this feature with an option to turn it off.

@prasadwagle
Copy link
Copy Markdown
Author

I made the change to save user credentials in #860. Two instances of the build are failing due to the reasons below:
10548 Unable to extract spark-1.5.2-bin-hadoop2.3.tgz^M

13614 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.16:integration-test (default) on project zeppelin-server: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org. apache.maven.surefire:surefire-junit4:jar:2.16: Failed to retrieve POM for org.apache.maven.surefire:surefire-junit4:jar:2.16: Could not transfer artifact org.apache.maven.surefire:surefire-junit4:pom:2.16 from/to central (https://repo.maven.apache.org/maven2): Connection reset^M

Are these failures related to this PR? I am going to close/reopen the PR to kick off another build to check if the errors go away.

@bzz
Copy link
Copy Markdown
Member

bzz commented May 27, 2016

Looks good to me. Merging if there is no more discussion.

@asfgit asfgit closed this in 6546def May 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants