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

Daniel Dai commented on PIG-2755:
---------------------------------

You cannot do "SET" in PigServer.registerQuery. Use "PigServer.debugOn()" 
instead.
                
> 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

        

Reply via email to