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

Hudson commented on BOOKKEEPER-805:
-----------------------------------

FAILURE: Integrated in bookkeeper-master #872 (See 
[https://builds.apache.org/job/bookkeeper-master/872/])
BOOKKEEPER-805: NullPointException in bookie server when using 
twitter-ostrich-provider (Youngjoon Kim via sijie) (sijie: rev 
130ebfa8f3763c1b98b29124a2bb648b2a810281)
* 
bookkeeper-stats-providers/twitter-ostrich-provider/src/main/java/org/apache/bookkeeper/stats/twitter/ostrich/OstrichProvider.java


> NullPointException in bookie server when using twitter-ostrich-provider
> -----------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-805
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-805
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>            Reporter: Youngjoon Kim
>            Assignee: Youngjoon Kim
>             Fix For: 4.4.0, 4.3.1
>
>         Attachments: BOOKKEEPER-805.patch, BOOKKEEPER-805.patch
>
>
> How to reproduce this bug
> 1) Set configurations in conf/bk_server.conf to use twitter-ostrich-provider.
> {noformat}
> statsProviderClass=org.apache.bookkeeper.stats.twitter.ostrich.OstrichProvider
> statsExport=true
> {noformat}
> 2) Copy twitter-ostrich-provider-4.3.0.jar and required library jars to lib 
> directory.
> {noformat}
> (library jars)
> ostrich_2.9.2-9.1.3.jar
> scala-json_2.9.2-3.0.1.jar
> scala-library-2.9.2.jar
> util-app_2.9.2-6.3.7.jar
> util-core_2.9.2-6.3.7.jar
> util-eval_2.9.2-6.3.7.jar
> util-jvm_2.9.2-6.3.7.jar
> util-logging_2.9.2-6.3.7.jar
> {noformat}
> 3) Start a bookie server. Then, the server doesn't start and server log shows 
> NullPointException.
> {noformat}
> 2014-11-25 17:30:27,796 - ERROR [main:BookieServer@396] - Exception running 
> bookie server :
> java.lang.NullPointerException
>     at com.twitter.ostrich.stats.StatsListener.<init>(StatsListener.scala:90)
>     at 
> com.twitter.ostrich.stats.LatchedStatsListener.<init>(StatsListener.scala:144)
>     at 
> com.twitter.ostrich.stats.StatsListener$$anonfun$apply$4.apply(StatsListener.scala:68)
>     at 
> com.twitter.ostrich.stats.StatsListener$$anonfun$apply$4.apply(StatsListener.scala:68)
>     at 
> com.twitter.ostrich.stats.StatsListener$$anonfun$getOrRegister$1.apply(StatsListener.scala:40)
>     at 
> com.twitter.ostrich.stats.StatsListener$$anonfun$getOrRegister$1.apply(StatsListener.scala:39)
>     at scala.Option.getOrElse(Option.scala:108)
>     at 
> com.twitter.ostrich.stats.StatsListener$.getOrRegister(StatsListener.scala:39)
>     at com.twitter.ostrich.stats.StatsListener$.apply(StatsListener.scala:67)
>     at 
> com.twitter.ostrich.admin.AdminServiceFactory$$anonfun$configureStatsListeners$1.apply(AdminServiceFactory.scala:81)
>     at 
> com.twitter.ostrich.admin.AdminServiceFactory$$anonfun$configureStatsListeners$1.apply(AdminServiceFactory.scala:81)
>     at 
> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
>     at scala.collection.immutable.List.foreach(List.scala:76)
>     at 
> com.twitter.ostrich.admin.AdminServiceFactory.configureStatsListeners(AdminServiceFactory.scala:81)
>     at 
> com.twitter.ostrich.admin.AdminServiceFactory.apply(AdminServiceFactory.scala:61)
>     at 
> org.apache.bookkeeper.stats.twitter.ostrich.OstrichProvider.start(OstrichProvider.java:57)
>     at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:375)
> {noformat}



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

Reply via email to