hadoop hdfs指向file:///而不是hdfs://(hadoop hdfs points to file:/// not hdfs://)
所以我在CentOS 5上通过Cloudera Manager cdh3u5安装了Hadoop。当我运行cmd时
hadoop fs -ls /
我期望看到hdfs://localhost.localdomain:8020 /
但是,它已经返回了file:///的内容
现在,这不用说我可以访问我的hdfs:// through
hadoop fs -ls hdfs://localhost.localdomain:8020/
但是当安装其他应用程序(如Accumulo)时,accumulo会自动检测文件中的Hadoop Filesystem:///
问题是,有没有人遇到过这个问题,你是如何解决的?
我看过HDFS节俭服务器返回本地FS的内容,而不是HDFS ,这是一个类似的问题,但并没有解决这个问题。 此外,我没有得到Cloudera Manager cdh4的这个问题。
So I installed Hadoop via Cloudera Manager cdh3u5 on CentOS 5. When I run cmd
hadoop fs -ls /
I expected to see the contents of hdfs://localhost.localdomain:8020/
However, it had returned the contents of file:///
Now, this goes without saying that I can access my hdfs:// through
hadoop fs -ls hdfs://localhost.localdomain:8020/
But when it came to installing other applications such as Accumulo, accumulo would automatically detect Hadoop Filesystem in file:///
Question is, has anyone ran into this issue and how did you resolve it?
I had a look at HDFS thrift server returns content of local FS, not HDFS , which was a similar issue, but did not solve this issue. Also, I do not get this issue with Cloudera Manager cdh4.
原文:https://stackoverflow.com/questions/12391226
最满意答案
只是一个猜测,但取消了点击上的传播
$("li a").on("click", function(event) { event.stopPropagation(); });
它可能是mousedown而不是click
Just a guess, but cancelling the propagation on the click
$("li a").on("click", function(event) { event.stopPropagation(); });
It might be mousedown instead of click
相关问答
更多-
jquery更改事件回调(jquery change event callback)[2024-01-04]
您可以使用事件冒泡并在document注册回调。 $(document).on('change', '#element', function(){ console.log('after all callbacks') }); 演示: 小提琴 You can probably make use of event bubbling and register a callback in the document. $(document).on('change', '#element', function ... -
当你编辑输入然后点击链接时,内部会发生以下情况 你开始点击'链接'。 没有事件产生(甚至没有被ousedown),因为首先浏览器会做一些清理工作: 输入失去焦点并会引起blur事件 输入引发了一个change事件,因为它引起了blur并且值发生了变化 您的change事件回调打开alert(2) 自从新窗口出现以后,这些文件就失去了重点 该链接永远不会经历click 。 解决方案是不使用alert (如xdazz建议)。 When you edit the input and then click on t ...
-
为什么我不能用jQuery控制这个链接的click事件?(Why can't I control the click event of this link with jQuery?)[2023-09-30]
如果动态加载这些链接,则需要使用$.live()来控制它们: $(".delete_social").live("click", function(e){ e.preventDefault(); // do stuff }); $.live()使动态添加的元素遵循先前声明的规则。 If these links are loaded in dynamically, you'll need to use $.live() to control them: $(".delete_social").liv ... -
在jquery中更改事件(change event in jquery)[2022-09-28]
更新: 由于您需要根据更改每个选择来更新总值,因此您应该计算两个处理程序的总计。 如下 var baseValue = 1000, logotypeprice = 0, materialprice = 0; $(document).ready(function () { $('#logotypeprice').change(function () { logotypeprice = jQuery(this).val(); $('input.logoTy ... -
onClick: function(view, scope) { var scope = angular.element($("#multipleSelect")).scope(); view.checked ? scope.searchByTitle.multi.push(view.value) : scope.searchByTitle.multi.remove(view.value); } 多数民众赞成我找到的解决方案。 有用 :) onClick: function(view, s ...
-
您可以通过timepicker.js( doc )的“changeTime”事件触发您的操作。 顺便说一下,你的timepicker.js版本已经过时了。 所以你可以尝试这个:
Deploment Management this甚至是指引发事件的控制: $('.area_select').change(function(){ // this = the control }); 那是你要做的吗? 或者您可以在回调中接受e并查看e.target 。 $('.area_select').change(function(e){ // e.target = the control (unless bubbling occurred) }); 有关event.target的文档 如果你想得到你可以使用的select(只是数 ...只是一个猜测,但取消了点击上的传播 $("li a").on("click", function(event) { event.stopPropagation(); }); 它可能是mousedown而不是click Just a guess, but cancelling the propagation on the click $("li a").on("click", function(event) { event.stopPropagation(); }); It might b ...使用html函数: $('#link').html(text); 或者,如果您正在谈论title属性: $('#link').attr('title','some title'); use html function: $('#link').html(text); or , if you are talking about the title attribute: $('#link').attr('title','some title');确保在DOM准备好之前未分配更改事件。 你可能想要这个: Make sure your change event is ...相关文章
更多- Hadoop HDFS Wrong FS: hdfs:/ expected file:///
- 【HDFS】HADOOP DISTRIBUTED FILE SYSTEM
- Hadoop 学习总结之一:HDFS简介
- Hadoop HDFS之SequenceFile和MapFile
- Hadoop HDFS源码学习笔记(二)
- Hadoop并非完美:8个代替 HDFS 的绝佳方案
- 扩展Hadoop HDFS,实现WebDav协议,将hdfs mount为Linux本地文件系统
- Hadoop集群(第8期)_HDFS初探之旅
- 基于HDFS的FTP
- Hadoop HDFS的一些操作
最新问答
更多- h2元素推动其他h2和div。(h2 element pushing other h2 and div down. two divs, two headers, and they're wrapped within a parent div)
- 创建一个功能(Create a function)
- 我投了份简历,是电脑编程方面的学徒,面试时说要培训三个月,前面
- PDO语句不显示获取的结果(PDOstatement not displaying fetched results)
- Qt冻结循环的原因?(Qt freezing cause of the loop?)
- TableView重复youtube-api结果(TableView Repeating youtube-api result)
- 如何使用自由职业者帐户登录我的php网站?(How can I login into my php website using freelancer account? [closed])
- SQL Server 2014版本支持的最大数据库数(Maximum number of databases supported by SQL Server 2014 editions)
- 我如何获得DynamicJasper 3.1.2(或更高版本)的Maven仓库?(How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?)
- 以编程方式创建UITableView(Creating a UITableView Programmatically)
- 如何打破按钮上的生命周期循环(How to break do-while loop on button)
- C#使用EF访问MVC上的部分类的自定义属性(C# access custom attributes of a partial class on MVC with EF)
- 如何获得facebook app的publish_stream权限?(How to get publish_stream permissions for facebook app?)
- 如何防止调用冗余函数的postgres视图(how to prevent postgres views calling redundant functions)
- Sql Server在欧洲获取当前日期时间(Sql Server get current date time in Europe)
- 设置kotlin扩展名(Setting a kotlin extension)
- 如何并排放置两个元件?(How to position two elements side by side?)
- 如何在vim中启用python3?(How to enable python3 in vim?)
- 在MySQL和/或多列中使用多个表用于Rails应用程序(Using multiple tables in MySQL and/or multiple columns for a Rails application)
- 如何隐藏谷歌地图上的登录按钮?(How to hide the Sign in button from Google maps?)
- Mysql左连接旋转90°表(Mysql Left join rotate 90° table)
- dedecms如何安装?
- 在哪儿学计算机最好?
- 学php哪个的书 最好,本人菜鸟
- 触摸时不要突出显示表格视图行(Do not highlight table view row when touched)
- 如何覆盖错误堆栈getter(How to override Error stack getter)
- 带有ImageMagick和许多图像的GIF动画(GIF animation with ImageMagick and many images)
- USSD INTERFACE - > java web应用程序通信(USSD INTERFACE -> java web app communication)
- 电脑高中毕业学习去哪里培训
- 正则表达式验证SMTP响应(Regex to validate SMTP Responses)