如何在hadoop中启动所有守护进程 - 比如linux中的start-all.sh(how to start all daemon process in hadoop - like start-all.sh in linux)
我刚刚开始在windows 7中使用hadoop,cygwin。我需要知道,这是有任何方法可以使用linux中的命令like-all-all.sh启动所有服务。 我在cygwin中使用此命令不起作用。 如果可能的话,请建议我使用cygwin在windows 7中使用hadoop。
我每次都需要按照以下步骤启动五个守护进程
Start the namenode in the first window by executing cd hadoop bin/hadoop namenode Start the secondary namenode in the second window by executing cd hadoop bin/hadoop secondarynamenode Start the job tracker the third window by executing cd hadoop bin/haoop jobtracker Start the data node the fourth window by executing cd hadoop bin/haoop datanode Start the task tracker the fifth window by executing cd hadoop bin/haoop tasktracker
请任何身体帮助
i have just started to work on hadoop, cygwin in windows 7. i need to know , that is there any method to start all the services using command like- start-all.sh in linux. i used this command in cygwin doesnt work. And if possible pls suggest me any reference to work on hadoop in windows 7 with cygwin.
i need to do following steps every time to start five daemons like
Start the namenode in the first window by executing cd hadoop bin/hadoop namenode Start the secondary namenode in the second window by executing cd hadoop bin/hadoop secondarynamenode Start the job tracker the third window by executing cd hadoop bin/haoop jobtracker Start the data node the fourth window by executing cd hadoop bin/haoop datanode Start the task tracker the fifth window by executing cd hadoop bin/haoop tasktracker
pls any body help
原文:https://stackoverflow.com/questions/21413768
最满意答案
只是为了澄清:你说,错误不是确定性的意思,你在页面/网址上得到错误,你可以在几秒钟/几分钟后加载而没有问题? 不好。
说实话,我无法直接帮助你。 只是给出一些一般性的提示。
什么是你的托管包,你安装/配置操作系统,PHP等或托管服务? 如果这是主持人的工作,他们应该帮助。
如果主机无法帮助您,我建议您更换主机,而不是浪费更多时间。 无论如何,他们应该正确配置日志记录。 奇怪的是错误日志中没有任何内容。
尝试激活(或获取主机激活)日志记录并检查日志文件。 但首先检查TYPO3系统报告是否有任何明显的错误:
- 运行TYPO3系统报告:“TYPO3后端”:“系统”:“报告”:“状态报告”
- 在“TYPO3安装工具”中选中“系统环境”
现在检查日志
- 检查sys_log:“TYPO3 Backend”:“System”:“Log”
- 检查Webserver / PHP日志
- 检查系统日志(取决于操作系统,例如
journalctl
)- 看看phpinfo的输出。 它应该包括一些OPcache统计信息。 看看“浪费的内存”,“可用内存”和“OOM重启”
如果您具有系统的root访问权限:检查opcache配置,可能在此处添加更多内存或发布配置
Just to clarify: You say, that the errors are not deterministic meaning, that you get errors on pages / urls which you can load without problems a few seconds / minutes later? Not good.
To tell the truth, I can't directly help you with this. Just give a few general hints.
What is your hosting package, do you install / configure operating system, php etc or the hoster? If it's the job of the hoster, they should help.
If the hoster can't help you with this, I would recommend switching the hoster and not waste more time on this. In any case they should configure the logging correctly. It's weird there is nothing in the error logs.
Try to activate (or get the hoster to activate) logging and check logfiles. But first check the TYPO3 system reports for any obvious errors:
- Run TYPO3 system report: "TYPO3 Backend" : "System" : "Reports" : "Status report"
- In the "TYPO3 Install Tool" check "System environment"
Now check the logs
- check the sys_log: "TYPO3 Backend" : "System" : "Log"
- check the Webserver / PHP logs
- check system logs (depends on operating system, e.g.
journalctl
)- have a look at the output of phpinfo. It should include some OPcache statistics. Look at "wasted memory", "Free memory" and "OOM restart"
If you have root access to the system: Check opcache configuration, possibly adding more memory or post configuration here
相关问答
更多-
非常感谢您的回答! 问题很简单。 事实证明,我的用户只是没有任何管理员权限,这就是为什么我找不到其他人有同样奇怪的问题。 有人告诉我,我的帐户是管理员帐户,所以我甚至没想到这是一个可能的问题。 对不起那些打扰你这个问题的人! 您诚挚的,菲利克斯 Thank you very much for your answers! The problem was as simple as it can be. It turned out that my user just didn't have any admin a ...
-
节日快乐! 在fileadmin/user_upload/...有一些包含特殊字符的文件,如'äüö'等。 某些编辑者通过FTP上传这些文件,而不是通过TYPO3-Filelist。 该死的 ;) TYPO3 CMS上传自动将wrong-file_2ae.pdf更改为wrong-file_2ae.pdf - FTP不会。 没有错误! Happy Holidays! There were some files with special characters like 'ä ü ö' etc. in filea ...
-
TYPO3:后端文件下载(TYPO3: File download in Backend)[2023-08-12]
无需FAL或在服务器上保存文件。 您可以在控制器中添加自定义操作,以设置内容类型和处置标头,以便像下载一样处理您的请求: public function exportAction { // Just an example on how you could access the downloadable data. $records = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*', 'tx_domain_model_table'); $da ... -
哈! MAMP 3.2.1或我的设置中的后缀设置一定有问题。 我检查了后缀日志,它说: May 19 20:50:51 myname.local postfix/postdrop[18672]: warning: mail_queue_enter: create file maildrop/744151.18672: Permission denied 我不知道如何解决这个问题,但如果$TYPO3_CONF_VARS['BE']['warning_email_addr'] ,安装工具登录将再次起作用。 所 ...
-
TYPO3:OPcache激活导致TYPO3后端服务器错误(TYPO3: OPcache activation causes server error in TYPO3 backend)[2023-05-30]
只是为了澄清:你说,错误不是确定性的意思,你在页面/网址上得到错误,你可以在几秒钟/几分钟后加载而没有问题? 不好。 说实话,我无法直接帮助你。 只是给出一些一般性的提示。 什么是你的托管包,你安装/配置操作系统,PHP等或托管服务? 如果这是主持人的工作,他们应该帮助。 如果主机无法帮助您,我建议您更换主机,而不是浪费更多时间。 无论如何,他们应该正确配置日志记录。 奇怪的是错误日志中没有任何内容。 尝试激活(或获取主机激活)日志记录并检查日志文件。 但首先检查TYPO3系统报告是否有任何明显的错误: 运 ... -
TYPO3 BE刷新登录方法(TYPO3 BE Refresh Login method)[2023-08-07]
我找不到这个脚本的确切位置,但找到了相应的JavaScript文件。 也许这会有所帮助: https : //github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-7/typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js 但我很确定它使用所有注册的登录服务。 I can't find the exact position of this script, but found the corresponding ... -
检查模板文件名的首字母大写。 规则是,对于名为fooBarAction()动作,模板文件必须命名为FooBar.html Check so template filename has first letter uppercase. The rule is that for action named fooBarAction() template file must be named FooBar.html
-
在我讨论过的任何论坛中都没有答案,所以我最终以$_POST的传统方式访问了params。 There is no answer in any of the forums I've questioned this, so I ended up accessing the params the traditional way with $_POST.
-
TYPO3 - 后端在CentOS上更改服务器后使用RSA登录(TYPO3 – Backend Login with RSA after server changes on CentOS)[2021-12-04]
我的一个朋友解决了这个问题。 我们有一个vhost星座,每个Web根文件夹属于不同的系统用户。 这导致编写php会话时出错(在每个项目中使用不同的系统用户)。 设置php会话文件夹的权限(只有文件夹而不是文件!)到777.会话文件夹属于不同的非项目特定系统用户(apache / www-data / whatever)。 chmod 0777 /var/lib/php/session 现在,每个项目的每个系统用户都有权编写会话。 无论如何,会话文件本身会获得更多限制性权限。 A friend of mine ... -
您必须将TYPO3 6.2升级到typo3 7.6.x. 在TYPO3 7.6中,typo3 defult tables and tables fileds主要变化。 因此,如果您不遵循所有INSTALL TOOLS Upgrade Wizard steps and compare database specification 。 然后首先按照所有这些步骤。 You have to upgrade TYPO3 6.2 to typo3 7.6.x. In TYPO3 7.6 major changes in ...