pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jin ZHAO (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2755) When I use PigServer method registerQuery("SET debug on;") ,got an error
Date Sun, 17 Jun 2012 14:53:42 GMT

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

Jin ZHAO commented on PIG-2755:
-------------------------------

Hi Daniel,

http://pig.apache.org/docs/r0.9.2/cmds.html
...
SET mapred.map.tasks.speculative.execution false; 
SET pig.logfile mylogfile.log; 
SET my.arbitrary.key my.arbitary.value;
...

There are no method  instead.

If the PigServer.registerQuery() can't support "set", I got it.

Thanks.

Jin ZHAO
                
> When I use PigServer method registerQuery("SET debug on;") ,got an error
> ------------------------------------------------------------------------
>
>                 Key: PIG-2755
>                 URL: https://issues.apache.org/jira/browse/PIG-2755
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.2, 0.10.0
>         Environment: Hadoop 1.0/ Pig 0.9.1
>            Reporter: Jin ZHAO
>            Priority: Critical
>             Fix For: 0.10.0, 0.9.3
>
>
> Error Message:
> (Error during parsing. <line 1, column 0>  Syntax error, unexpected symbol at or
near 'SET')
> Utility Command "SET" was unable to be used.And when I use org.apache.pig.tools.grunt.Grunt
exec() can be run.
> Can you give some information about that problem? Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message