I doubt that this is correct way to specify "javaagent" for Hadoop. Please 
check Hadoop documentation.
For 
example 
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/ClusterSetup.html
 
mentions "child jvms" and options "mapreduce.map.java.opts", 
"mapreduce.reduce.java.opts".

On Friday, September 2, 2016 at 10:44:11 PM UTC+2, [email protected] 
wrote:
>
> On Thursday, September 1, 2016 at 9:21:44 AM UTC-7, 
> [email protected] wrote:
> > I have a jar file, and invoke java class with different input 
> values(manually testing it). How can i get the code coverage in this 
> scenario. I have made sure to invoke the java class with -javaagent opts, i 
> do not see the jacoco.exec files getting created. Can any one help me here?
>
> Here is the more detail information of my issue:
> thanks for the information, 
> Here is a sample :
> i have a test.jar, i have script (test.sh) that calls the java class
> I specified  -javaagent opts while calling the java class,
>
> I test this java class by passing differnt parameters, somehting like
> ./test.sh /user/wld 
>  i do not see jacoco.exec file getting created
>
> Another complication is , the class are executed in hadoop environment, 
> that means,
> in test.sh , the command to invoke the java class
> hadoop com.test.main {specifed the -javagent opts} -classpath {has list of 
> jar files & my test.jar} $1 
>
> can you help me here?
> thanks
> Rama
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/1f5398ae-f242-4302-82b2-8f33186fb955%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to