brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Bouron (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-266) NPE when deploying Riak Node on MacOS
Date Tue, 10 May 2016 15:46:14 GMT

    [ https://issues.apache.org/jira/browse/BROOKLYN-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278309#comment-15278309
] 

Thomas Bouron commented on BROOKLYN-266:
----------------------------------------

Thanks [~alex.heneveld], that solves it... but there are few other behind:
# the {{expandedinstall.dir}} is not setup when installing on Mac which makes the entire thing
collapse. I tested to set the sensor to the same value as {{install.dir}}, seems to work.
# the {{customize}} script does a {{ulimit -n 65536 || true}} but on Mac OS, {{ulimit}} does
not take any arguments which make the deployment fail.

> NPE when deploying Riak Node on MacOS
> -------------------------------------
>
>                 Key: BROOKLYN-266
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-266
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>         Environment: Mac OS
>            Reporter: Thomas Bouron
>
> When deploying a simple Riak Node to MacOS, using the following blueprint:
> {code:borderStyle=solid}
> location: localhost
> services:
> - type: org.apache.brooklyn.entity.nosql.riak.RiakNode
> {code}
> The Riak node entity throws a NPE during the install phase with the following stack trace:
> {code}
> Failed after 0ms: NullPointerException
> java.lang.NullPointerException
> 	at org.apache.brooklyn.entity.nosql.riak.RiakNodeSshDriver.installMac(RiakNodeSshDriver.java:211)
> 	at org.apache.brooklyn.entity.nosql.riak.RiakNodeSshDriver.install(RiakNodeSshDriver.java:116)
> 	at org.apache.brooklyn.entity.software.base.AbstractSoftwareProcessDriver$2$6.run(AbstractSoftwareProcessDriver.java:159)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:359)
> 	at org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:519)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message