hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Friedrich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-8507) UT: fix rcfile_bigdata test
Date Fri, 07 Nov 2014 23:00:34 GMT

     [ https://issues.apache.org/jira/browse/HIVE-8507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Friedrich updated HIVE-8507:
-----------------------------------
    Description: 
The tests
groupby_bigdata
rcfile_bigdata 
fail because it can't find the dumpdata_script.py file that is referenced in the script: rcfile_bigdata.q
/usr/bin/python: can't open file 'dumpdata_script.py': [Errno 2] No such file or directory

There are two references:
add file ../../dumpdata_script.py;
FROM (FROM src MAP src.key,src.value USING 'python dumpdata_script.py'

Since it's using relative path it seems to be related to spark tests being one level deeper
than regular tests.


  was:
The test rcfile_bigdata fails because it can't find the dumpdata_script.py file that is referenced
in the script: rcfile_bigdata.q
/usr/bin/python: can't open file 'dumpdata_script.py': [Errno 2] No such file or directory

There are two references:
add file ../../dumpdata_script.py;
FROM (FROM src MAP src.key,src.value USING 'python dumpdata_script.py'

Since it's using relative path it seems to be related to spark tests being one level deeper
than regular tests.



> UT: fix rcfile_bigdata test
> ---------------------------
>
>                 Key: HIVE-8507
>                 URL: https://issues.apache.org/jira/browse/HIVE-8507
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Spark
>            Reporter: Thomas Friedrich
>            Priority: Minor
>
> The tests
> groupby_bigdata
> rcfile_bigdata 
> fail because it can't find the dumpdata_script.py file that is referenced in the script:
rcfile_bigdata.q
> /usr/bin/python: can't open file 'dumpdata_script.py': [Errno 2] No such file or directory
> There are two references:
> add file ../../dumpdata_script.py;
> FROM (FROM src MAP src.key,src.value USING 'python dumpdata_script.py'
> Since it's using relative path it seems to be related to spark tests being one level
deeper than regular tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message