Member since
09-11-2015
100
Posts
56
Kudos Received
14
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3307 | 11-16-2016 02:15 AM | |
721 | 10-26-2016 02:17 AM | |
1304 | 10-14-2016 03:22 PM | |
785 | 10-13-2016 03:28 PM | |
529 | 10-08-2016 12:56 PM |
09-07-2017
01:43 PM
Have you tried using SNMP traps to achieve this. Ambari can send alerts to snmp server and on service now side SNMP trap collector can be used to collect the event and take proper action. You can find some information @ https://community.hortonworks.com/articles/74370/snmp-alert.html https://github.com/apache/ambari/tree/trunk/contrib/alert-snmp-mib http://wiki.servicenow.com/index.php?title=SNMP_Trap_Collector_Extension
... View more
03-09-2017
03:30 PM
@Mehrdad Niasari
If the interpreter is not loaded by default try loading it dynamically. Have a look at http://zeppelin.apache.org/docs/0.7.0/manual/dynamicinterpreterload.html#load-unload-interpreters-using-rest-api and see if it helps. Also found this related question -https://community.hortonworks.com/questions/51351/how-to-add-hive-to-zeppelin-in-hdp-25.html
... View more
01-24-2017
02:16 AM
@ripunjay godhani Have a look at https://community.hortonworks.com/articles/58458/installing-docker-version-of-sandbox-on-mac.html and https://community.hortonworks.com/content/idea/47121/use-docker-to-deliver-hdp-sandbox.html
... View more
11-16-2016
02:15 AM
@Doug Reid You can use zeppelin api to delete the paragraph. usage is present on https://zeppelin.apache.org/docs/0.6.1/rest-api/rest-notebook.html#delete-a-paragraph
... View more
10-26-2016
06:39 PM
It worked for me so its not a issue on url side. May be you can try with -v option to find out what is the exact issue. You can use wget with verbose mode to see if it works correctly
... View more
10-26-2016
02:17 AM
try once more, the archive you dowloaded is corrupt % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5585k 100 5585k 0 0 242k 0 0:00:23 0:00:23 --:--:-- 800k
... View more
10-24-2016
08:36 AM
@Avijeet Dash Have a look at https://zeppelin.apache.org/docs/latest/manual/dependencymanagement.html
... View more
10-24-2016
05:37 AM
@Avijeet Dash I was trying some use-case and was facing similar issue. When i added the library the issue got resolved. So thought of sharing with you
... View more
10-23-2016
02:03 PM
1 Kudo
@Avijeet Dash Try loading https://mvnrepository.com/artifact/org.apache.spark/spark-streaming-twitter_2.11/1.5.2 under spark interpreter as a dependency
... View more
10-14-2016
03:22 PM
Its currently not possible as in zeppelin 0.6. "Zeppelin's interpreter abstraction allows any interpreter creates something like Z context. To expose Z context to user in %jdbc interpreter, we need proper syntax for it. i.e. %spark interpreter expose Z context as scala api. %pyspark interpreter expose Z context as python api. %jdbc interpreter expose Z context as ..?" Related defect - https://issues.apache.org/jira/browse/ZEPPELIN-1363
... View more
10-13-2016
03:28 PM
@mb As far as i know its not possible in last released version 0.6. one reason is "Zeppelin's interpreter abstraction allows any interpreter creates something like Z context. To expose Z context to user in %jdbc interpreter, we need proper syntax for it. i.e. %spark interpreter expose Z context as scala api. %pyspark interpreter expose Z context as python api. %jdbc interpreter expose Z context as ..?" You can have a look at one related defect - https://issues.apache.org/jira/browse/ZEPPELIN-1363
... View more
10-11-2016
02:54 PM
@Yu Song Is the host on which your are installing had /usr/hdp directory already present (before starting installation). What is the output of ls -l /usr/hdp/current
... View more
10-08-2016
12:56 PM
1 Kudo
@mertez will recommend to re-install after cleaning the old installation. yum remove ambari-agent
rm -rf /var/lib/ambari-agent
rm -rf /var/run/ambari-agent
rm -rf /usr/lib/amrbari-agent
rm /etc/yum.repos.d/ambari.repo
yum clean all
wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
yum install ambari-agent
... View more
10-05-2016
06:49 AM
1 Kudo
There is a related defect https://issues.apache.org/jira/browse/ZEPPELIN-1390 which has fix version as 0.6.1 and 0.7.0
... View more
10-03-2016
02:35 PM
There is a HDP cluster cl1 managed by ambari-server installed on host1. The requirement is to stop ambari-server running on host1, install ambari-server on host h2 and manage cl1 through it. Is it currently possible? What are the configuration files those need to be backed-up?
... View more
09-29-2016
02:45 PM
@jyoti gupta are you using custom repositories? Please check if you are able to access the host and files
... View more
09-27-2016
05:05 PM
1 Kudo
@ssharma post mentions a similar issue. See if it is related
... View more
09-27-2016
02:04 PM
@slachterman thanks for the response. I tried adding the zeppelin in zeppelin.server.addr. But again the error is same
... View more
09-27-2016
01:02 PM
Thanks I will try it
... View more
09-26-2016
05:42 PM
3 Kudos
Problem is the interpreters are not visible after configuring LDAP. Found a similar problem at https://community.hortonworks.com/questions/54516/zeppelin-interpreters-disappear-when-security-is-e.html but the steps mentioned there did not solved the issue Am i missing something ? Below in the value for variable shiro_ini_content in zeppelin -> configs [users]
# Sample LDAP configuration, for user Authentication, currently tested for single Realm
[main]
activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = zeppelin
activeDirectoryRealm.systemPassword = test@123
activeDirectoryRealm.hadoopSecurityCredentialPath = jceks://user/zeppelin/zeppelin.jceks
activeDirectoryRealm.searchBase = cn=Users,dc=test,dc=testdomain,dc=com
activeDirectoryRealm.url = ldap://ad-nano.test.testdomain.com:389
activeDirectoryRealm.groupRolesMap = "cn=zeppelin,cn=Users,dc=test,dc=testdomain,dc=com":"admin"
activeDirectoryRealm.authorizationCachingEnabled = true
shiro.loginUrl = /api/login
[roles]
admin=*
[urls]
/api/version = anon
#/** = anon
/** = authc
I was able to successfully login but clicking on interpreters did not show anything Below is the output from zeppelin log file WARN [2016-09-26 17:37:41,581] ({qtp687241927-17} LoginRestApi.java[postLogin]:111) - {"status":"OK","message":"","body":{"principal":"zeppelin","ticket":"82b92434-fe54-496b-9d70-0d1f83afe812","roles":"[]"}}
WARN [2016-09-26 17:37:50,361] ({qtp687241927-15} ServletHandler.java[doHandle]:620) -
javax.servlet.ServletException: Filtered request failed.
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:384)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.apache.zeppelin.server.CorsFilter.doFilter(CorsFilter.java:72)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;
at javax.ws.rs.WebApplicationException.validate(WebApplicationException.java:186)
at javax.ws.rs.ClientErrorException.<init>(ClientErrorException.java:88)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:503)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:207)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:103)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
... 22 more
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Zeppelin
09-26-2016
12:22 PM
@Alena Melnikova If you are using zeppelin service as part of HDP 2.5. Have you followed https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/install/upgrade.html (Also Some expert can comment if this is official way of upgrading zeppelin service on HDP)
... View more
09-23-2016
12:10 PM
1 Kudo
@ed day try this sudo wget -O /usr/hdp/current/zeppelin-server/lib/conf/shiro.ini "https://raw.githubusercontent.com/apache/zeppelin/master/conf/shiro.ini"
... View more
09-19-2016
12:28 PM
@Santhoshi G try exporting the classpath in /var/lib/ambari-server/ambari-env.sh and restart ambari-server
... View more
09-05-2016
03:29 PM
1 Kudo
@ed day You can get the version information from Ambari UI. Click on Admin -> Stack and Versions and you will find the version information under Version tab.
... View more
08-26-2016
06:40 AM
1 Kudo
@Arun A K Is the problem resolved. If not try giving absolute path for file grp.lst in the argument
... View more
08-19-2016
06:12 AM
@ripunjay godhani
For service logs , log directory is controlled by a configuration property. You can modify the configuration property . Look at https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations for more details. You will have to restart the service for the changes to take effect.
... View more
08-16-2016
07:11 AM
1 Kudo
How can i create visualization like http://www.nytimes.com/interactive/2016/08/08/sports/olympics/history-olympic-dominance-charts.html using zeppelin. Is there any visualization library which can be used It is showing multiple type of information How many medals are won by a particular country in olympics across different year When i hover over a country it shows me count of medals(Gold,Silver,Bronze) for the particular country
... View more
Labels:
- Labels:
-
Apache Zeppelin
07-29-2016
12:16 PM
missed to add .show to abc
... View more