hi yukon, I'm working with rocketMQ and console to get better understanding. I had a doubt, since admintool never asks for authentication and only asks for name server address or broker address for most of the commands, is it possible for some one with an admin tool to disturb a known rocketMQ isntance with both of those adresses ?
So i made a local network test, unfortunately when i try to connect from admin tool its saying >> *xelvias@xelvias-ws:~/RMQ/apache-rocketmq$ sh bin/mqadmin clusterList -n 192.168.8.100:9876 <http://192.168.8.100:9876>* *Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0* *Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0* *org.apache.rocketmq.tools.command.SubCommandException: ClusterListSubCommand command failed* * at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.execute(ClusterListSubCommand.java:93)* * at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:130)* * at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:81)* *Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed* * at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:388)* * at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerClusterInfo(MQClientAPIImpl.java:1175)* * at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineBrokerClusterInfo(DefaultMQAdminExtImpl.java:275)* * at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineBrokerClusterInfo(DefaultMQAdminExt.java:222)* * at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.printClusterBaseInfo(ClusterListSubCommand.java:172)* * at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.execute(ClusterListSubCommand.java:88)* * ... 2 more* if i run the admin tool in the same pc where both name server and broker are running its returning the result perfectly Can you please help me fix this thing, It would be a big help Thank you On Fri, Mar 9, 2018 at 8:17 PM, yukon <yu...@apache.org> wrote: > Hi, > > ``` > The other thing is what are the expected features in the new console? > ``` > > Do you check out the features in the current console[1]? > > You may have ideas about the features after trying this console and the > `admin` tool[2], then make a design and let's discuss based on it. > > Regards, > yukon > > [1]. > https://github.com/apache/rocketmq-externals/tree/master/rocketmq-console > [2].https://github.com/apache/rocketmq/blob/master/ > distribution/bin/mqadmin > > On Thu, Mar 8, 2018 at 7:26 PM, Ahmed Ifhaam <ahmedifha...@gmail.com> > wrote: > > > HI, > > Regarding this RocketMQ-380, > > I have issues in running the referenced console when ever i try to enter > my > > personal details page is automatically redirected to home page. > > Hence i'm not being able to activate the messaging service which i > believe > > should work. > > https://mns.console.aliyun.com/?spm=5176.2020520130.0.0. > > 4db63db5cHTXtU#/list/cn-hangzhou > > From this link when i click activate button it is redirecting to the home > > page. but according to the documentation it should take me to a form to > > fill my personal details. I created an account and i can login to my > > account as well. Please help on this. > > > > The other thing is what are the expected features in the new console? > > Please give a short description. > > > > Thanks in advance. > > > > On Wed, Mar 7, 2018 at 12:40 AM, Ahmed Ifhaam <ahmedifha...@gmail.com> > > wrote: > > > > > Ok sorry, changing on bin/runbrocker.sh worked Thank you > > > > > > On Wed, Mar 7, 2018 at 12:27 AM, Sohaib Iftikhar <sohaib1...@gmail.com > > > > > wrote: > > > > > >> Hi Ahmed, > > >> > > >> That file is for the nameserver. You also need to change the JAVA_OPTS > > for > > >> the broker. Look at the fine `bin/runbroker.sh`. > > >> > > >> Thanks, > > >> Sohaib > > >> > > >> On Tue, Mar 6, 2018 at 7:41 PM, Ahmed Ifhaam <ahmedifha...@gmail.com> > > >> wrote: > > >> > > >> > I tried the way you asked me to do, actually values were 4g only > even > > >> > without changing but ichanged it back to 2gb also and tried no > effect > > >> its > > >> > taking 8 gb. > > >> > I changed it in the file > > >> > "distribution/target/apache-rocketmq/bin/runserver.sh" is it the > > right > > >> > file > > >> > to change ? > > >> > > > >> > Thank you > > >> > > > >> > On Tue, Mar 6, 2018 at 12:00 PM, Ahmed Ifhaam < > ahmedifha...@gmail.com > > > > > >> > wrote: > > >> > > > >> > > THANK YOU > > >> > > > > >> > > On Tue, Mar 6, 2018 at 11:22 AM, yukon <yu...@apache.org> wrote: > > >> > > > > >> > >> Hi, > > >> > >> > > >> > >> Change this line: > > >> > >> > > >> > >> ``` > > >> > >> JAVA_OPT="${JAVA_OPT} -server -Xms8g -Xmx8g -Xmn4g" > > >> > >> ``` > > >> > >> > > >> > >> to: > > >> > >> > > >> > >> ``` > > >> > >> JAVA_OPT="${JAVA_OPT} -server -Xms4g -Xmx4g -Xmn2g" > > >> > >> ``` > > >> > >> > > >> > >> It's a Java application, broker will only generate a 4G heap now~ > > >> > >> > > >> > >> Regards, > > >> > >> yukon > > >> > >> > > >> > >> On Tue, Mar 6, 2018 at 1:14 PM, Ahmed Ifhaam < > > ahmedifha...@gmail.com > > >> > > > >> > >> wrote: > > >> > >> > > >> > >> > hi yukon, > > >> > >> > As you said its taking 8gb almost thats why my system is > getting > > >> stuck > > >> > >> > mostly. I read the scripts in the bin folder i didn't find a > > place > > >> to > > >> > >> > adjust the memory needed. I have only 8GB of ram and my hard > disk > > >> is > > >> > >> not an > > >> > >> > ssd so i need to work without swap as much as possible can you > > >> help me > > >> > >> on > > >> > >> > this please . > > >> > >> > > > >> > >> > Thank you > > >> > >> > > > >> > >> > On Mon, Mar 5, 2018 at 5:02 PM, yukon <yu...@apache.org> > wrote: > > >> > >> > > > >> > >> > > Hi, > > >> > >> > > > > >> > >> > > The start script will consume 8GB mem, you could adjust the > > >> script > > >> > >> before > > >> > >> > > running broker[1]. > > >> > >> > > > > >> > >> > > Also please try the current rocketmq console for > reference[2]. > > >> > >> > > > > >> > >> > > Let us know if you have any question. > > >> > >> > > > > >> > >> > > [1]. > > >> > >> > > https://github.com/apache/rocketmq/blob/master/ > > >> > >> > > distribution/bin/runbroker.sh > > >> > >> > > [2]. > > >> > >> > > https://github.com/apache/rocketmq-externals/tree/ > > >> > >> > master/rocketmq-console > > >> > >> > > > > >> > >> > > Regards, > > >> > >> > > yukon > > >> > >> > > > > >> > >> > > On Mon, Mar 5, 2018 at 5:33 PM, Ahmed Ifhaam < > > >> > ahmedifha...@gmail.com> > > >> > >> > > wrote: > > >> > >> > > > > >> > >> > > > Hi all, > > >> > >> > > > > > >> > >> > > > I'm Ahmed Ifhaam from Sri Lanka. I'm interested in > > >> participating > > >> > >> GSOC > > >> > >> > > 2018. > > >> > >> > > > For my project i'm willing to take ROCKETMQ-380 > > >> > >> > > > <https://issues.apache.org/jira/browse/ROCKETMQ-380> > issue. > > >> Since > > >> > >> i'm > > >> > >> > > new > > >> > >> > > > to the product. Where can i start ? Please help me on > this. I > > >> > tried > > >> > >> > > running > > >> > >> > > > Rocket-MQ but it is taking a lot of memory which results my > > >> system > > >> > >> to > > >> > >> > > hang. > > >> > >> > > > I'm looking for the proper way to start solving this issue. > > >> > >> > > > > > >> > >> > > > Thank you. > > >> > >> > > > > > >> > >> > > > -- > > >> > >> > > > *Ahmed Ifhaam * > > >> > >> > > > University of Kelaniya | MIT '19 > > >> > >> > > > Tel :- 94662244937 | Mob :- 94776699609 > > >> > >> > > > ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com> > > >> > >> > > > > > >> > >> > > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > -- > > >> > >> > *Ahmed Ifhaam * > > >> > >> > University of Kelaniya | MIT '19 > > >> > >> > Tel :- 0662244937 | Mob :- 0776699609 > > >> > >> > ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com> > > >> > >> > > > >> > >> > > >> > > > > >> > > > > >> > > > > >> > > -- > > >> > > *Ahmed Ifhaam * > > >> > > University of Kelaniya | MIT '19 > > >> > > Tel :- 0662244937 | Mob :- 0776699609 > > >> > > ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com> > > >> > > > > >> > > > >> > > > >> > > > >> > -- > > >> > *Ahmed Ifhaam * > > >> > University of Kelaniya | MIT '19 > > >> > Tel :- 0662244937 | Mob :- 0776699609 > > >> > ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com> > > >> > > > >> > > > > > > > > > > > > -- > > > *Ahmed Ifhaam * > > > University of Kelaniya | MIT '19 > > > Tel :- 0662244937 | Mob :- 0776699609 > > > ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com> > > > > > > > > > > > -- > > *Ahmed Ifhaam * > > University of Kelaniya | MIT '19 > > Tel :- 0662244937 | Mob :- 0776699609 > > ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com> > > > -- *Ahmed Ifhaam * University of Kelaniya | MIT '19 Tel :- 0662244937 | Mob :- 0776699609 ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com>