some questions! when I was deploy
the example of the package provided and execute it, there is some error:
Caused by: Java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for Java.lang.RuntimeException do not match. Excepted 4 but 5.
what's wrong does this happen. By the way my version is 4.7.1
Thank you Yan!
My jdk version is 1.7 and the error was not go away!
Use the same jdk execute the tutorial.sh there is nothing error appear.
I deploy the agent、console、zookeeper on different host. The error will appear but deploy on the same host there was nothing wrong!
Hope you will understand what I say!Because my English is pore!:)
Thank you for your response！
I am sure that all the host were used the same jdk1.7.
On the agent host I take agent-cli and agent-server in it, console host have console-cli and console-server.
I done this because I want mini deploy.
By the way the error some times change to "you are tries more than ten times to load the scripts."
And I don't clear that console ,agent and zookeeper the three componenta are run like a line or circulation！
I was find out why the errors which I have before were happen .
Because I missed AGENT_NAME_FACTOR in the shell file of pre_master_conf.sh!
There is another question , I want deploy my own application but I don't understand how should I write a glu script, I have seen your document But I am not very clear of the strict
of the script! I hope you can give me some advise.
Thank you very much!
In order to write your script, you should think about what are the steps you "manually" execute to deploy your application (you download it from somewhere, you untar/unzip the package, you execute this command, etc...). Then you split those steps in "phases" (install, configure, start, etc...) and you simply write the code that reproduces what you would manually do. Same for undeploying.