Hi,

thanks for your reply.

I know why it hangs. I have read the code of agent/PythonExecutor.py

It blocks in the line "process.communicate()".

My start command will spawn three child processes. Maybe this line is waiting for the three to finish? I am not very familiar with how the communicate function works. But Vertica is a long-running process, it is not possible for Vertica to stop. So it always timeout and get killed by the watch-dog-thread.

Is there a way to avoid the waiting?

Thanks.

On 07/24/2014 04:15 PM, Sumit Mohanty wrote:
My guess is that start() does not complete or fails and gets retried few
times and then eventually fails. Can you share the agent logs?

We have a new release now 0.40 - can you port your package over to 0.40? If
you can share your package I can help you do that. In any case, only
critical change is the metainfo.xml structure where its enclosed within
"<application></application>".

http://slider.incubator.apache.org/docs/slider_specs/hello_world_slider_app.html
is a work-in-progress doc for creating an application package which will
provide you the details.

-Sumit


On Thu, Jul 24, 2014 at 12:26 PM, Rui Zhang <[email protected]> wrote:

Hi,

I can start my own created package now. But it always stay IN_PROGRESS
status according to the log and after a long time it shows Failed. However,
my application runs perfectly without any errors.

Why is this? How to determine the start is completed or not?

Thanks.

--
Rui Zhang
Software engineer Intern
Vertica, an HP Company
[email protected]



--
Rui Zhang
Software engineer Intern
Vertica, an HP Company
[email protected]

Reply via email to