You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@distributedlog.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/09 10:35:58 UTC

[jira] [Commented] (DL-181) starting write proxy failed due to the optional "la" be assumed a MUST arg

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

ASF GitHub Bot commented on DL-181:
-----------------------------------

GitHub user xieliang opened a pull request:

    https://github.com/apache/incubator-distributedlog/pull/110

    DL-181 : avoid starting failure due to call Optional.get() on an absent value

    see original JIRA for the detailed error msg

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xieliang/incubator-distributedlog DL-181-startingProxyFailed

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-distributedlog/pull/110.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #110
    
----
commit ca27983b0c2fb6056f87311766e048325c1fc09a
Author: xieliang <xi...@gmail.com>
Date:   2017-01-09T10:33:08Z

    avoid starting failure due to call Optional.get() on an absent value

----


> starting write proxy failed due to the optional "la" be assumed a MUST arg
> --------------------------------------------------------------------------
>
>                 Key: DL-181
>                 URL: https://issues.apache.org/jira/browse/DL-181
>             Project: DistributedLog
>          Issue Type: Bug
>          Components: distributedlog-service
>    Affects Versions: 0.4.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>
> I just built a release package followed by http://distributedlog.incubator.apache.org/docs/latest/deployment/cluster,
> I failed at "Run write proxy" due to this error from output:
> Exception in thread "main" java.lang.IllegalStateException: Optional.get() cannot be called on an absent value
>         at com.google.common.base.Absent.get(Absent.java:47)
>         at org.apache.distributedlog.service.DistributedLogServer.runServer(DistributedLogServer.java:189)
>         at org.apache.distributedlog.service.DistributedLogServer.runServer(DistributedLogServer.java:457)
>         at org.apache.distributedlog.service.DistributedLogServerApp.runCmd(DistributedLogServerApp.java:147)
>         at org.apache.distributedlog.service.DistributedLogServerApp.run(DistributedLogServerApp.java:89)
>         at org.apache.distributedlog.service.DistributedLogServerApp.main(DistributedLogServerApp.java:185)
> we need to modify the log statement: "loadAppraiserClassStr.get()"



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