Good eyes Ramki! thanks this "directory" in place of filename appears to
be working. The script is getting loaded now using the "Attempt two" i.e.
the hivetry/classification_wf.py as the script path.
thanks again.
stephenb
2013/6/20 Ramki Palle
> In the *Attempt two, *are you not supposed
In the *Attempt two, *are you not supposed to use "hivetry" as the
directory?
May be you should try giving the full path "
/opt/am/ver/1.0/hive/hivetry/classifier_wf.py" and see if it works.
Regards,
Ramki.
On Thu, Jun 20, 2013 at 9:28 AM, Stephen Boesch wrote:
>
> Stephen: would you be will
Stephen: would you be willing to share an example of specifying a
"directory" as the add "file" target?I have not seen this working
I have attempted to use it as follows:
*We will access a script within the "hivetry" directory located here:*
hive> ! ls -l /opt/am/ver/1.0/hive/hivetry/class
yeah. the archive isn't unpacked on the remote side. I think add archive
is mostly used for finding java packages since CLASSPATH will reference the
archive (and as such there is no need to expand it.)
On Thu, Jun 20, 2013 at 9:00 AM, Stephen Boesch wrote:
> thx for the tip on "add " where is
thx for the tip on "add " where is directory. I will try that.
2013/6/20 Stephen Sprague
> i personally only know of adding a .jar file via add archive but my
> experience there is very limited. i believe if you 'add file' and the file
> is a directory it'll recursively take everything undern
i personally only know of adding a .jar file via add archive but my
experience there is very limited. i believe if you 'add file' and the file
is a directory it'll recursively take everything underneath but i know of
nothing that inflates or un tars things on the remote end automatically.
i would
To demonstrate this is not necessarily a path issue - but instead an issue
with the "archive" is not unpacked - I have created a zip file containing
a python script in its root directory. The archive is added to hive and
then an attempt is made to invoke the python script within a transform
quer
@Stephen: given the 'relative' path for hive is from a local downloads
directory on each local tasktracker in the cluster, it was my thought that
if the archive were actually being expanded then
somedir/somefileinthearchive should work. I will go ahead and test this
assumption.
In the meantim
what would be interesting would be to run a little experiment and find out
what the default PATH is on your data nodes. How much of a pain would it
be to run a little python script to print to stderr the value of the
environmental variable $PATH and $PWD (or the shell command 'pwd') ?
that's of c