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

Nick Allen commented on METRON-1518:
------------------------------------

This is caused by my PR; https://github.com/apache/metron/pull/977.

This problem occurs only when building Metron with the '-PHDP‌-2.5.0.0' Maven 
build profile.

When building Metron against this profile, it uses an HDP specific version of 
Storm (1.0.1.2.5.0.0-1245). When building normally, without that profile (how 
Metron is built in Apache-land) then it uses Storm 1.0.3.

The class in question (org.apache.storm.StormTimer) does not exist in HDP Storm 
1.0.1.2.5.0.0-1245, but does exist in Storm 1.0.3.

{code}
nallen@HW12402 : ~/.m2/repository/org/apache/storm/storm-core
$ jar -tvf 
~/.m2/repository/org/apache/storm/storm-core/1.0.3/storm-core-1.0.3.jar | grep 
StormTimer
   848 Tue Feb 07 15:25:56 EST 2017 org/apache/storm/StormTimer$1.class
   902 Tue Feb 07 15:25:56 EST 2017 org/apache/storm/StormTimer$2.class
   650 Tue Feb 07 15:25:56 EST 2017 org/apache/storm/StormTimer$QueueEntry.class
  1275 Tue Feb 07 15:25:56 EST 2017 
org/apache/storm/StormTimer$StormTimerTask$1.class
  2972 Tue Feb 07 15:25:56 EST 2017 
org/apache/storm/StormTimer$StormTimerTask.class
  3684 Tue Feb 07 15:25:56 EST 2017 org/apache/storm/StormTimer.class

nallen@HW12402 : ~/.m2/repository/org/apache/storm/storm-core
$ jar -tvf 
~/.m2/repository/org/apache/storm/storm-core/1.0.1.2.5.0.0-1245/storm-core-1.0.1.2.5.0.0-1245.jar
 | grep StormTimer
{code}

> Build Failure When Using Profile HDP-2.5.0.0
> --------------------------------------------
>
>                 Key: METRON-1518
>                 URL: https://issues.apache.org/jira/browse/METRON-1518
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>            Priority: Major
>
> {code}
> /Users/ottofowler/src/apache/forks/metron/metron-analytics/metron-profiler/src/main/java/org/apache/metron/profiler/bolt/ProfileBuilderBolt.java:45:
> error: cannot find symbol
> import org.apache.storm.StormTimer;
>                        ^
>   symbol:   class StormTimer
>   location: package org.apache.storm
> /Users/ottofowler/src/apache/forks/metron/metron-analytics/metron-profiler/src/main/java/org/apache/metron/profiler/bolt/ProfileBuilderBolt.java:167:
> error: cannot find symbol
>   private StormTimer expiredFlushTimer;
>           ^
>   symbol:   class StormTimer
>   location: class ProfileBuilderBolt
> /Users/ottofowler/src/apache/forks/metron/metron-analytics/metron-profiler/src/main/java/org/apache/metron/profiler/bolt/ProfileBuilderBolt.java:450:
> error: cannot find symbol
>   private StormTimer createTimer(String name) {
>           ^
>   symbol:   class StormTimer
>   location: class ProfileBuilderBolt
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to