Grokbase Groups Pig dev March 2013
FAQ
I missed the part where you are running it from JUnit. Still suspect a
classpath issue :). Can you dump your classpath as seen by JUnit, and what
happens when you run "-secretDebugCmd" and see if something is missing?

-D

On Fri, Mar 29, 2013 at 10:38 AM, Konstantin Boudnik wrote:

There's no problem with Pig itself. If I use Pig CLI I can run some
PigLatin
scripts and they go all the way to the completion.

The problem arises while running TestPigTest _programmatically_ e.g. using
JUnit runner. Is there any secret debug options in this case? I've looked
through the code but didn't spot anything immediately.

I will give "-secretDebugCmd" a try anyway - it might give me some ideas...

Appreciate the help!
Cos
On Fri, Mar 29, 2013 at 09:08AM, Dmitriy Ryaboy wrote:
Can you run `pig -secretDebugCmd` and look at your paths? I suspect there's
something going on there, like not having the right configs or hadoop
jars.
On Thu, Mar 28, 2013 at 11:32 PM, Konstantin Boudnik wrote:

Guys,

I am trying to run TestPigTest against a fanctional Hadoop 2.0 YARN
cluster -
I can run MR jobs using Hive or plain MR examples. However, it is going
somewhat unsuccessful. While using pig "far" jar file - e.g. with
everything
repacked inside of it - I seeminly can run TestPigTest against a real
cluster.

However, while using pig-withouthadoop.jar and adding all needed
dependencies
to the classpath, Pig is failing to communicate with YARN nor submit
any MR
jobs. There's no exceptions, not error messages anywhere in the logs.
Have
anyone seen anything similar?

Any input is highly appreciated!

--
With regards,
Cos

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 8 | next ›
Discussion Overview
groupdev @
categoriespig, hadoop
postedMar 29, '13 at 6:33a
activeApr 9, '13 at 6:42a
posts8
users3
websitepig.apache.org

People

Translate

site design / logo © 2021 Grokbase