Hadoop守护进程没有停止(Hadoop Daemons not stopping)
我试图通过./stop-all.sh脚本停止hadoop中的守护进程,但它给出了以下消息:
没有jobtracker停止localhost:没有tasktracker停止没有namenode停止localhost:没有datanode停止localhost:没有secondarynamenode停止
我尝试使用jps查看hadoop是否正在运行,它显示:
27948 SecondaryNameNode 27714 NameNode 28136 TaskTracker 27816 DataNode 28022 JobTracker 8174 Jps
也就是说,它正在运行所有守护进程。 我还检查了hadoop dfs -ls /,看看我能否连接到hdfs。 它的工作原理。
我正在运行超级用户意义的stop-all.sh脚本,权限没有问题。
I am trying to stop the daemon processes in hadoop by ./stop-all.sh script but it gives following message:
no jobtracker to stop localhost: no tasktracker to stop no namenode to stop localhost: no datanode to stop localhost: no secondarynamenode to stop
I tried to see if the hadoop is running after this using jps and it showed:
27948 SecondaryNameNode 27714 NameNode 28136 TaskTracker 27816 DataNode 28022 JobTracker 8174 Jps
That is, it's running all daemons properly. I also checked hadoop dfs -ls / to just see if I am able to connect to hdfs. It's working.
I am running stop-all.sh script by supergroup user meaning, there is no issue with permissions.
原文:https://stackoverflow.com/questions/10512441
最满意答案
扩展接口
ICompletionProposalExtension6
支持样式化显示字符串。 它唯一的方法getStyledDisplayString()
必须返回一个用于显示的StyledString
。您不必创建
CompletionProposal
实例,而是必须实现自己的ICompletionProposal
,它也实现了上述扩展。 例如:class StyledCompletionProposal implements ICompletionProposal, ICompletionProposalExtension6 { ... @Override public StyledString getStyledDisplayString() { return new StyledString("test").append(" [10%]", Styler.QUALIFIER_STYLER); } }
此外,必须将内容助手配置为启用彩色标签 。 对于编辑器,这通常在
SourceViewerConfiguration::getContentAssistant
:ContentAssistant contentAssistant = new ContentAssistant(); contentAssistant.enableColoredLabels(true);
The extension interface
ICompletionProposalExtension6
supports styled display strings. Its sole methodgetStyledDisplayString()
must return aStyledString
that is used for display.Instead of creating an instance of
CompletionProposal
you would have to implement your ownICompletionProposal
that also implements the above mentioned extension. For example:class StyledCompletionProposal implements ICompletionProposal, ICompletionProposalExtension6 { ... @Override public StyledString getStyledDisplayString() { return new StyledString("test").append(" [10%]", Styler.QUALIFIER_STYLER); } }
In addition, the content assistant must be configured to enable coloured labels. For editors, this is usually done in
SourceViewerConfiguration::getContentAssistant
:ContentAssistant contentAssistant = new ContentAssistant(); contentAssistant.enableColoredLabels(true);
相关问答
更多-
android 3d游戏开发 所需要的软件[2023-10-23]
eclipse -
安卓应用程序开发使用哪个开发工具最好?[2022-11-21]
eclipse -
安卓手机编程现在用什么软件?并求下载地址。[2022-05-06]
eclipse -
在你的CompletionProposal创作: new CompletionProposal(template, offset, template.length(), template.length()) 第三个参数是要在offset替换的文本的长度,因此使用template.length()会导致模板被覆盖。 要插入使用: new CompletionProposal(template, offset, 0, template.length()) 使用0作为第三个参数会导致插入文本。 In you ...
-
Eclipse Code Recommenders项目包括子词完成 ,这似乎正是您正在寻找的。 The Eclipse Code Recommenders project includes subwords completion which seems to be exactly what you are looking for.
-
伙计,你不在“代码”区域; 你正在尝试在一个领域进行代码完成 - 它期待一种类型。 在方法中尝试: public call Test { String str_test = "hello world"; void someMethod() { str_tes|... <-- it will complete this } 奥卡姆剃刀 - 选择: Eclipse的一个基本功能不起作用,但尽管每天都有无数的程序员使用Eclipse,没有人抱怨它或创建了一个错误报告,但 ...
-
在Eclipse RCP中添加样式到CompletionProposal(内容辅助)(Add style to CompletionProposal in Eclipse RCP (Content assist))[2023-09-15]
扩展接口ICompletionProposalExtension6支持样式化显示字符串。 它唯一的方法getStyledDisplayString()必须返回一个用于显示的StyledString 。 您不必创建CompletionProposal实例,而是必须实现自己的ICompletionProposal ,它也实现了上述扩展。 例如: class StyledCompletionProposal implements ICompletionProposal, ICompletionPropo ... -
感谢greg-449指向我JFace模板。 我根据他的评论在org.eclipse.jface.text.templates查看了类的API。 正如他所提到的那样,这似乎是一种很好的方法,但肯定不是微不足道的。 但是,我在PyDev代码中找到了一个更简单的解决方案(我的应用正在扩展)。 PyLinkedModeCompletionProposal做了类似于我想要的事情,因此我复制了该类并根据需要对其进行了修改。 (我只是有一个不同的模板模式。) PyLinkedModeCompletionProposal# ...
-
我建议你也看看Xored的Q7 ,它用于一些Eclipse项目的GUI测试,包括Eclipse DLTK,Eclipse LDT,Eclipse Tigerstripe,这个工具非常完美:它让你每个工程师每天开发几十个UI测试,并没有稳定性和错误记录问题。 它是专门设计的,仅用于测试基于Eclipse的应用程序,显然是利基市场中最好的。 然而它花钱,这可能是你的阻碍(如挤压),但他们有一个免费的社区版本,这足以满足大多数用例。 除了那些Xored的人刚刚推出了按次付费的定价模式 - 这些工具将是免费的,你只 ...