Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 69E52200B99 for ; Wed, 5 Oct 2016 08:45:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6883E160ADE; Wed, 5 Oct 2016 06:45:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 852A4160ADB for ; Wed, 5 Oct 2016 08:45:56 +0200 (CEST) Received: (qmail 83802 invoked by uid 500); 5 Oct 2016 06:45:55 -0000 Mailing-List: contact user-help@gearpump.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@gearpump.incubator.apache.org Delivered-To: mailing list user@gearpump.incubator.apache.org Received: (qmail 83792 invoked by uid 99); 5 Oct 2016 06:45:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 06:45:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 423BF1A0422 for ; Wed, 5 Oct 2016 06:45:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.999 X-Spam-Level: * X-Spam-Status: No, score=1.999 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=thedatateam-in.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cVOjmV5AbmDN for ; Wed, 5 Oct 2016 06:45:51 +0000 (UTC) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 46F185FB82 for ; Wed, 5 Oct 2016 06:45:50 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id cd13so77719506pac.0 for ; Tue, 04 Oct 2016 23:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thedatateam-in.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=izZm33WQpzj0KpjymNjGPFIhfxAD8U85WcgPTVxztU8=; b=0pPvpMTkDRNtyugX5hHf6lJy5qUj1arYabZtED6GXyhI7JBsgUjH8iBIZ/08C91lhb sej6UU5tQM1xCiHJM9Dz+B21+Z1M9T+UsZrBwkzbV5xGH68EhjuJfR/+LNNzpp4cLhJm viOneBRomSTRcuXYiCgfOvnnHElrUWAhHN3rVZ2ZHQdNBgWlzZYdcU+pzR9YTRZDU5Lh TVvjgwcB/dJCpqHaJGV9pNAUeOQU1LomstL4FBnNtnllYkow9twEinbqEMGFpIvWaklS AgChIxvueqaj7/01764IJ6L1kvzDx3brvDwqWlxqQpKbTTRY/GqwmGzioO+8IP8Dlujw 4tHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=izZm33WQpzj0KpjymNjGPFIhfxAD8U85WcgPTVxztU8=; b=gjBlJA+SnTJjikH880+fzWAfhCXkAWFSztsbME97EQHLLCLqr9GVbKa4rWnXAzwFWE CYhe3VW0Bb4Wsca2Njix0u11+UJHKEdnyK4G/Bkskbj/ye9PvgmQabpCKQQPHrQstv0a UNbrs7QMoLq1QZTamf122KDbxoPHJz5s4r4QfyPlbtWEvvFvKXjU+oQBiQxzdZlV7DK+ 6S7Cs11G9RkkeeAItTSFu0a+jALRFI64O1gho7DrSV2dKIPBBLK7lktndpNO8qx2LYcw Nh8opCMbdehVs8Qa0w29w++W7kY7AiTdWtlM40LAyFOySHmWlG2WC6mPOgfjOz7tHfwI jnuQ== X-Gm-Message-State: AA6/9RlNMXROZ+84kO9opsBvZQxHI8ADiWCODrUPb1/7ZPLQwYKXaeejFZgJ+9hKY2GsFw== X-Received: by 10.66.144.41 with SMTP id sj9mr10894964pab.97.1475649943954; Tue, 04 Oct 2016 23:45:43 -0700 (PDT) Received: from [10.12.1.222] ([49.207.182.124]) by smtp.gmail.com with ESMTPSA id f86sm29774036pfd.83.2016.10.04.23.45.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 23:45:43 -0700 (PDT) Subject: Re: gearpump issue with MetricsRegistry class not found : Guess missing shaded jars To: user@gearpump.incubator.apache.org References: <17e3ada2-dfd7-24dc-cea9-058ac8d190d3@thedatateam.in> From: Ganesh Message-ID: Date: Wed, 5 Oct 2016 12:15:42 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------2DDE6D51B3F78C48D0E622ED" archived-at: Wed, 05 Oct 2016 06:45:57 -0000 This is a multi-part message in MIME format. --------------2DDE6D51B3F78C48D0E622ED Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Manu, Thanks for the response ,i see the assembly jars in https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/gearpump/gearpump-shaded-metrics-graphite_2.11/0.8.1/ Any guesses on how long it might be before the rest of the repos like maven get to have them ? Thanks/Ganesh On 05-10-2016 11:19, Manu Zhang wrote: > > The shaded library has just been published(moved) to maven repo. Do > you have any previous shaded library cached locally ? > > Thanks, > Manu > > > Ganesh >于2016年10月4日周二 下午9:07写道: > > Hi , > > I tried following the word count example using the below sbt, > however it ends with a class not found exception stating > MetricsRegistry from codahale : > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/gearpump/codahale/metrics/MetricRegistry > at org.apache.gearpump.metrics.Metrics.(Metrics.scala:33) > at > org.apache.gearpump.metrics.Metrics$DummyMetrics.(Metrics.scala:136) > at > org.apache.gearpump.metrics.Metrics$.createExtension(Metrics.scala:132) > > I guess the shaded jar from codahale is placed somewhere as part > of the build but am missing the same. > > Is there a dependency am missing ?Would be very helpfull if > someone could help on understanding it better. > > val gearpumpVersion ="0.8.1" libraryDependencies ++=Seq( > "org.apache.gearpump" %"gearpump-core_2.11" % gearpumpVersion, > "org.apache.gearpump" %"gearpump-streaming_2.11" % gearpumpVersion, > "org.apache.gearpump" %"gearpump-shaded-metrics-graphite_2.11" % gearpumpVersion > ) > > > > > Thanks/Ganesh > --------------2DDE6D51B3F78C48D0E622ED Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi Manu,


Thanks for the response ,i see the assembly jars in https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/gearpump/gearpump-shaded-metrics-graphite_2.11/0.8.1/


Any guesses on how long it might be before the rest of the repos like maven get to have them ?


Thanks/Ganesh


On 05-10-2016 11:19, Manu Zhang wrote:

The shaded library has just been published(moved) to maven repo. Do you have any previous shaded library cached locally ?

Thanks,
Manu


Ganesh <ganesh@thedatateam.in>于2016年10月4日周二 下午9:07写道:
Hi ,

I tried following the word count example using the below sbt, however it ends with a class not found exception stating MetricsRegistry from codahale  :

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/gearpump/codahale/metrics/MetricRegistry
    at org.apache.gearpump.metrics.Metrics.<init>(Metrics.scala:33)
    at org.apache.gearpump.metrics.Metrics$DummyMetrics.<init>(Metrics.scala:136)
    at org.apache.gearpump.metrics.Metrics$.createExtension(Metrics.scala:132)

I guess the shaded jar from codahale is placed somewhere as part of the build but am missing the same.

Is there a dependency am missing ?Would be very helpfull if someone could help on understanding it better.
val gearpumpVersion = "0.8.1"

libraryDependencies ++= Seq(
  "org.apache.gearpump"                %  "gearpump-core_2.11"         % gearpumpVersion,
  "org.apache.gearpump"                %  "gearpump-streaming_2.11"         % gearpumpVersion,
  "org.apache.gearpump"                %  "gearpump-shaded-metrics-graphite_2.11"         % gearpumpVersion
 )




Thanks/Ganesh

--------------2DDE6D51B3F78C48D0E622ED--