Re: Building Zeppelin on Mapr 5.2 MEP 3.0 Fails with error below

2017-10-19 Thread ligaye robert
Hi Michael,
What issues did you face?

>From tutorials zeppelin is built on hbase 1.0.x but I want it to use hbase
1.1.8

https://zeppelin.apache.org/docs/0.7.2/interpreter/hbase.html


What should I use in place of 0.8.0 in the case of 0.7.2?


On Oct 19, 2017 15:55, "Michael Segel"  wrote:

Hi,

Why are you using  -Pmapr50 instead of -Pmapr51  (There is no 5.2)

You’re building against 0.8.0 which isn’t the latest ‘stable’ release.

I’ve had issues building a MapR release against 7.3 but could build against
7.2
(Albeit I’ve had some issues along the way.)

Also why the added HBase?

Is there any reason why you couldn’t go back to 7.2 and try that release?

> On Oct 19, 2017, at 4:44 AM, ligar...@gmail.com wrote:
>
> Hi Am building zeppelin on mapr 5.2 MEP 3.0
> COMMAND USED
> mvn clean package -DskipTests -Pmapr50 -Pscalding -Dignite.version=1.9.0
-Pcassandra-spark-1.5   -Dhbase.hbase.version=1.1.8 -Pspark-2.1
-Phadoop-2.7 -Pyarn -Ppyspark -Psparkr -Pscala-2.11
>
>
> ERROR RECEIVED
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=1024m; support was removed in 8.0
> [INFO] Scanning for projects...
> Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/17/
apache-17.pom
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [FATAL] Non-resolvable parent POM for 
> org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT:
Could not transfer artifact org.apache:apache:pom:17 from/to central (
https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or
service not known and 'parent.relativePath' points at wrong local POM @
line 32, column 11
> @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT
(/opt/zeppelin/zeppelin/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM for 
> org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT:
Could not transfer artifact org.apache:apache:pom:17 from/to central (
https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or
service not known and 'parent.relativePath' points at wrong local POM @
line 32, column 11: Unknown host repo.maven.apache.org: Name or service not
known -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
UnresolvableModelException
>


Re: Zeppelin failing?

2017-10-19 Thread Michael Segel
I went back and rebuilt 0.7.2 and it seems that the issue has gone away. 

Not sure what changed or which setting could have been causing the issue with 
socket connections. 


> On Oct 18, 2017, at 10:40 AM, Michael Segel  wrote:
> 
> The error:
> ERROR [2017-10-18 00:00:00,003] ({pool-2-thread-20} Job.java[run]:188) - Job 
> failed
> org.apache.zeppelin.interpreter.InterpreterException: 
> org.apache.zeppelin.interpreter.InterpreterException: 
> org.apache.thrift.transport.TTransportException: java.net.ConnectException: 
> Connection refused (Connection refused)
>at 
> org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:354)
>at 
> org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:97)
>at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:406)
>at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
>at 
> org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:329)
>at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>at java.lang.Thread.run(Thread.java:748)
> 
> And this in the zeppelin spark interpreter log:
> ERROR [2017-10-18 10:39:29,582] ({BoneCP-pool-watch-thread} 
> PoolWatchThread.java[fillConnections]:118) - Error in trying to obtain a 
> connection. Retrying in 7000ms
> java.sql.SQLException: A read-only user or a user in a read-only database is 
> not permitted to disable read-only mode on a connection.
>at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown 
> Source)
>at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
> Source)
>at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source)
>at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source)
>at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source)
>at org.apache.derby.impl.jdbc.EmbedConnection.setReadOnly(Unknown 
> Source)
>at 
> com.jolbox.bonecp.ConnectionHandle.setReadOnly(ConnectionHandle.java:1324)
>at com.jolbox.bonecp.ConnectionHandle.(ConnectionHandle.java:262)
>at 
> com.jolbox.bonecp.PoolWatchThread.fillConnections(PoolWatchThread.java:115)
>at com.jolbox.bonecp.PoolWatchThread.run(PoolWatchThread.java:82)
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>at java.lang.Thread.run(Thread.java:748)
> Caused by: java.sql.SQLException: A read-only user or a user in a read-only 
> database is not permitted to disable read-only mode on a connection.
>at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> 
> 
>> On Oct 18, 2017, at 10:36 AM, Michael Segel  
>> wrote:
>> 
>> Hi, 
>> 
>> I’m running 7.2 compiled against MapR 5.2
>> 
>> I have nginx in front of Zeppelin so I run zeppelin on the local host port 
>> and use nginx as a proxy w ssh. 
>> 
>> After running zeppelin for approximately 24 hours, if I login and try to run 
>> a paragraph in any notebook, I get a java error, connection refused. 
>> 
>> Even trying to restart the interpreter (any interpreter results in a 
>> failure.) 
>> 
>> I’m going to assume its human error on setting up the configuration. 
>> 
>> Any suggestions? 
>> 
>> Thx
>> 
>> -Mike
>> 
> 



Re: Building Zeppelin on Mapr 5.2 MEP 3.0 Fails with error below

2017-10-19 Thread Michael Segel
Hi, 

Why are you using  -Pmapr50 instead of -Pmapr51  (There is no 5.2) 

You’re building against 0.8.0 which isn’t the latest ‘stable’ release. 

I’ve had issues building a MapR release against 7.3 but could build against 7.2
(Albeit I’ve had some issues along the way.) 

Also why the added HBase?  

Is there any reason why you couldn’t go back to 7.2 and try that release? 

> On Oct 19, 2017, at 4:44 AM, ligar...@gmail.com wrote:
> 
> Hi Am building zeppelin on mapr 5.2 MEP 3.0 
> COMMAND USED
> mvn clean package -DskipTests -Pmapr50 -Pscalding -Dignite.version=1.9.0 
> -Pcassandra-spark-1.5   -Dhbase.hbase.version=1.1.8 -Pspark-2.1 -Phadoop-2.7 
> -Pyarn -Ppyspark -Psparkr -Pscala-2.11 
> 
> 
> ERROR RECEIVED 
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; 
> support was removed in 8.0
> [INFO] Scanning for projects...
> Downloading: 
> https://repo.maven.apache.org/maven2/org/apache/apache/17/apache-17.pom
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [FATAL] Non-resolvable parent POM for 
> org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT: Could not transfer artifact 
> org.apache:apache:pom:17 from/to central 
> (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or 
> service not known and 'parent.relativePath' points at wrong local POM @ line 
> 32, column 11
> @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT 
> (/opt/zeppelin/zeppelin/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM for 
> org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT: Could not transfer artifact 
> org.apache:apache:pom:17 from/to central 
> (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or 
> service not known and 'parent.relativePath' points at wrong local POM @ line 
> 32, column 11: Unknown host repo.maven.apache.org: Name or service not known 
> -> [Help 2]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> 



zeppelin 0.7.3 unable to enable the helium ultimate-heatmap-chart

2017-10-19 Thread Indtiny S
Hi,

I downloaded chart using npm install ultimate-heatmap-chart at location
ZeppelinHome/local-repo/vis/


 and added artifact as  " *"ultimate-heatmap-chart:0.0.1" *but getting the
below  error while enabling the chart.

/~/ultimate-heatmap-chart/index.js
Module not found: Error: Cannot resolve module
'zeppelin-tabledata/advanced-transformation'
in /home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/ultimate-heatmap-chart
resolve module zeppelin-tabledata/advanced-transformation in /home/user1/
HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/ultimate-heatmap-chart
looking for modules in /home/user1/HadoopInstallations/zeppelin-
0.7.3-bin-all/local-repo/vis/node_modules
resolve 'file' or 'directory' advanced-transformation in /home/user1/
HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata
resolve file
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.webpack.js doesn't
exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.web.js doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.js doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.json doesn't exist
resolve directory
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation doesn't exist
(directory default file)
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation/package.json
doesn't exist (directory description file)
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.webpack.js]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.web.js]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.js]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/
node_modules/zeppelin-tabledata/advanced-transformation.json]
@ ./~/ultimate-heatmap-chart/index.js 13:30-83


Re: zeppelin integration with helium not showing added charts

2017-10-19 Thread Indtiny S
Hi,
I added artifact as *"ultimate-line-chart:0.0.1"*  and it worked for line
chart.

Now I am trying to add heatmap chart and added artifact as  "
*"ultimate-heatmap-chart:0.0.1" *but getting the following error while
enabling the chart.




/~/ultimate-heatmap-chart/index.js
Module not found: Error: Cannot resolve module
'zeppelin-tabledata/advanced-transformation' in
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/ultimate-heatmap-chart
resolve module zeppelin-tabledata/advanced-transformation in
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/ultimate-heatmap-chart
looking for modules in
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules
resolve 'file' or 'directory' advanced-transformation in
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata
resolve file
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.webpack.js
doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.web.js
doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation
doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.js
doesn't exist
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.json
doesn't exist
resolve directory
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation
doesn't exist (directory default file)
/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation/package.json
doesn't exist (directory description file)
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.webpack.js]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.web.js]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.js]
[/home/user1/HadoopInstallations/zeppelin-0.7.3-bin-all/local-repo/vis/node_modules/zeppelin-tabledata/advanced-transformation.json]
@ ./~/ultimate-heatmap-chart/index.js 13:30-83




On Thu, Oct 19, 2017 at 2:17 PM, Thomas Bünger 
wrote:

> Hey,
> Usually, the package's json file (ultimate-line-chart.json) has to use the
> artefact's full, absolute path. Make sure that "artifact" is pointing to
> the right location where npm installed the package.
>
> 2017-10-19 9:24 GMT+02:00 Indtiny S :
>
>> Hi,
>>
>> I tried to add the helium packages to extend the support of zeppelin vis
>> to added it , I went to the path ZeppelinHome/local-repo/vis/no
>> de_modules/zeppelin-vis
>> and installed npm install ultimate-line-chart .
>>
>> and copied the ultimate-line-chart.jsom under ZeppelinHome/helium folder
>>
>> then went to home page and enabled that chart(like in the attached
>> helium.png)
>>
>> then wrote some query and tried to see that graph option but this line
>> chart was not shown , it was showing only attached charts (page.png)
>>
>> I did restart and refresh of zeppelin but still added line chart graph
>> was not showing .
>>
>> What could be problem ?
>>
>> I tried on zeppelin version 0.7.3
>>
>>
>>
>>
>


Building Zeppelin on Mapr 5.2 MEP 3.0 Fails with error below

2017-10-19 Thread ligar...@gmail.com
Hi Am building zeppelin on mapr 5.2 MEP 3.0 
COMMAND USED
mvn clean package -DskipTests -Pmapr50 -Pscalding -Dignite.version=1.9.0 
-Pcassandra-spark-1.5   -Dhbase.hbase.version=1.1.8 -Pspark-2.1 -Phadoop-2.7 
-Pyarn -Ppyspark -Psparkr -Pscala-2.11 


ERROR RECEIVED 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; 
support was removed in 8.0
[INFO] Scanning for projects...
Downloading: 
https://repo.maven.apache.org/maven2/org/apache/apache/17/apache-17.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for 
org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT: Could not transfer artifact 
org.apache:apache:pom:17 from/to central 
(https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service 
not known and 'parent.relativePath' points at wrong local POM @ line 32, column 
11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT 
(/opt/zeppelin/zeppelin/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for 
org.apache.zeppelin:zeppelin:0.8.0-SNAPSHOT: Could not transfer artifact 
org.apache:apache:pom:17 from/to central 
(https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service 
not known and 'parent.relativePath' points at wrong local POM @ line 32, column 
11: Unknown host repo.maven.apache.org: Name or service not known -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



Re: zeppelin integration with helium not showing added charts

2017-10-19 Thread Thomas Bünger
Hey,
Usually, the package's json file (ultimate-line-chart.json) has to use the
artefact's full, absolute path. Make sure that "artifact" is pointing to
the right location where npm installed the package.

2017-10-19 9:24 GMT+02:00 Indtiny S :

> Hi,
>
> I tried to add the helium packages to extend the support of zeppelin vis
> to added it , I went to the path ZeppelinHome/local-repo/vis/
> node_modules/zeppelin-vis
> and installed npm install ultimate-line-chart .
>
> and copied the ultimate-line-chart.jsom under ZeppelinHome/helium folder
>
> then went to home page and enabled that chart(like in the attached
> helium.png)
>
> then wrote some query and tried to see that graph option but this line
> chart was not shown , it was showing only attached charts (page.png)
>
> I did restart and refresh of zeppelin but still added line chart graph was
> not showing .
>
> What could be problem ?
>
> I tried on zeppelin version 0.7.3
>
>
>
>