Run through Pigserver pig task, want to set up the pig task queue, in the following way:
Pigserver. RegisterQuery (" set graphs. Job. Queuename tool;" );
But the center daily news during operation the following error:
Org. Apache. Pig. PigServer: exception during parsing: Error during parsing. & lt; Line 1, column 0 & gt; Syntax error, unexpected symbol at or near the 'SET'
Failed to parse: & lt; Line 1, column 0 & gt; Syntax error, unexpected symbol at or near the 'SET'
The at org. Apache. Pig. Parser. QueryParserDriver. Parse (QueryParserDriver. Java: 241)
The at org. Apache. Pig. Parser. QueryParserDriver. Parse (QueryParserDriver. Java: 179)
The at org. Apache. Pig. PigServer $Graph. ParseQuery (PigServer. Java: 1688)
The at org. Apache. Pig. PigServer $Graph. RegisterQuery (PigServer. Java: 1635)
The at org. Apache. Pig. PigServer. RegisterQuery (PigServer. Java: 587)
The at org. Apache. Pig. PigServer. RegisterQuery (PigServer. Java: 600)
At com. Zachen2. Vcoam. PigMain. Run (146) PigMain. Java:
At com. Iflytek. Oozie. Main. OozieToolRunner. Run (55) OozieToolRunner. Java:
At com. Iflytek. Oozie. Main. OozieToolRunner. Run (70) OozieToolRunner. Java:
At com. Zachen2. Vcoam. PigMain. Main (PigMain. Java: 35)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (606) Method. The Java:
The at org. Apache. Oozie. Action. Hadoop. JavaMain. Run (JavaMain. Java: 56)
The at org. Apache. Oozie. Action. Hadoop. LauncherMain. Run (49) LauncherMain. Java:
The at org. Apache. Oozie. Action. Hadoop. JavaMain. Main (JavaMain. Java: 35)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (606) Method. The Java:
The at org. Apache. Oozie. Action. Hadoop. LauncherMapper. The map (LauncherMapper. Java: 236)
At org, apache hadoop. Mapred. MapRunner. Run (MapRunner. Java: 54)
At org, apache hadoop. Mapred. MapTask. RunOldMapper (MapTask. Java: 453)
At org, apache hadoop. Mapred. MapTask. Run (343) MapTask. Java:
At org, apache hadoop. Mapred. LocalContainerLauncher $EventHandler. RunSubtask (LocalContainerLauncher. Java: 378)
At org, apache hadoop. Mapred. LocalContainerLauncher $EventHandler. RunTask (LocalContainerLauncher. Java: 296)
At org, apache hadoop. Mapred. LocalContainerLauncher $EventHandler. Access the $200 (181) LocalContainerLauncher. Java:
At org, apache hadoop. Mapred. LocalContainerLauncher $EventHandler $1. The run (224) LocalContainerLauncher. Java:
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (471) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 262)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1145)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 615)
The at Java. Lang. Thread. The run (Thread. Java: 745)
Grammatical errors, which help to solve the great god, or any other setting pig task queue way?