草庐IT

current_directory

全部标签

java - 安装 "cannot execute not a directory"时出现 Hadoop 错误

出于某些研究目的,我正在尝试在我的本地系统中安装Hadoop2.6.0,但是当我完成我的配置和java安装时,安装停止了。执行命令时遇到错误"hdfsnamenode-format"我得到的错误信息如下"usr/local/hadoop/bin/hdfs:line276:/usr/lib/jvm/java-7-oracle/jre/bin/java/bin/java:Notadirectory/usr/local/hadoop/bin/hdfs:line276:exec:/usr/lib/jvm/java-7-oracle/jre/bin/java/bin/java:cannotexe

linux - 克服 HDFS-2556 : unit tests directory and permissions

我正在尝试在hadoop上进行JUnit测试,我使用MiniDFSCluster、MiniMRCluster和JUnit编写了一个在本地mini-hadoop环境中运行的测试用例。但是我收到了这个错误:WARNING:Metricssystemnotstarted:Cannotlocateconfiguration:triedhadoop-metrics2-datanode.properties,hadoop-metrics2.propertiesDec18,20124:42:29PMorg.apache.hadoop.hdfs.server.datanode.DataNodemake

hadoop - 无效的作业 session 异常 : Output directory not set

我正在使用ClouderaVM进行mapreduce实践。我刚刚从cloudera提供的默认wordcount类创建了jar。我在运行mapreduce程序时遇到此错误。我能知道我错过了什么吗?InvalidJobConfException:Outputdirectorynotset.Exceptioninthread"main"org.apache.hadoop.mapred.InvalidJobConfException:Outputdirectorynotset. 最佳答案 要使用MapReduce程序处理数据,您需要-映射器

fatal: not a git repository (or any of the parent directories): .git

场景:从git上clone一个项目到本地文件夹修改以后,在terminal提交gitadd.报错:fatal:notagitrepository(oranyoftheparentdirectories):.git(没有git仓库)原因:1、terminal的文件夹没有选择项目文件夹,而是clone时的父文件夹,当前文件夹找不到.git目录。cd到当前项目文件夹后,重新执行gitadd.就可以解决。2、项目文件夹没有初始化仓库,在项目文件夹下执行gitinit就可以解决问题。

Windows server :active directory域(ad域)服务,安装&搭建&加入

环境:虚拟机下可以相互通信Windowsserver2016Windows101.安装首先打开server上的控制面板添加角色和功能下一步下一步下一步activedirectory域服务选择上添加功能下一步下一步下一步安装等待安装完成……2.搭建点击小旗子找到部署后配置点击“将此服务器提升为域控制器”选择添加林域然后填写根域名下一步填写密码下一步下一步下一步安装等待完成重启耐心等待3.加入首先把dns指向服务器1.1是Windows10ip1.2是server2016ip右键此电脑点击属性重命名这台电脑最下边的“更改”选择域填写域名bao.com确定然后输入域管理员账户重启即可

Hadoop 'put' 命令 : No such file or directory

我尝试将文本文件添加到HDFS文件系统,但Hadoop拒绝了它并显示错误消息“没有这样的文件或目录”。$bin/hdfsdfs-put/home/NDelt/Datasets/SampleText.txt/home/NDelt/HadoopDir/hdataput:`/home/NDelt/HadoopDir/hdata':Nosuchfileordirectory:`hdfs://localhost:9000/home/NDelt/HadoopDir/hdata'但是SampleText.txt和hdata目录的路径是正确的。有什么问题?这是我的hdfs-site.xml文件:dfs

DataStage登录报错:Failed to authenticate the current user against the selected Services Tier.

背景:近期同事一直在使用DataStage登录查找作业,突然今天无法登陆了。报错:FailedtoauthenticatethecurrentuseragainsttheselectedServicesTier.结论:解决了。报错处理过程1.开始第一反应是重装DataStage,毕竟我和另外几个同事的能够正常连接,他那边测试DS节点主机名都可以ping通,但是问题来了,发现2个问题:1)安装地址默认跳转到IE11,也就是MicrosoftEdge浏览器。2)MicrosoftEdge浏览器无法完成对DataStage的安装或者卸载动作。2.要处理第一个问题,先要在MicrosoftEdge浏览

hadoop - 复制到本地 : No such file or directory

我正在尝试使用以下命令将文件从hadoophdfs复制到本地:bin/hadoopfs-copyToLocal/user/nj/dir/hfilefile:///home/nj/lfilecopyToLocal得到Nosuchfileordirectory但是,ls有效,我可以使用cat读取文件内容。尝试了get和sudo选项但同样的错误。 最佳答案 假设您要将hfile复制到nj用户主目录中的data文件夹。然后使用以下命令。bin/hdfsdfs-copyToLocal/user/nj/dir/hfile/home/nj/dat

scala - Spark-Scala HBase 表创建失败(MetaException(消息 :file:/user/hive/warehouse/src is not a directory or unable to create one)

我的VM中运行着hortonworks沙盒。我已经完成了所有的hive-site.xml配置并放置在Spark/conf文件中。我可以使用PySpark访问HBase并创建/更新表,但是当我在Scala中执行相同的实现时,会出现以下错误:FAILED:ExecutionError,returncode1fromorg.apache.hadoop.hive.ql.exec.DDLTask.MetaException(message:file:/user/hive/warehouse/srcisnotadirectoryorunabletocreateone)我也更改了对“hive/war

hadoop - 线程 "main"org.apache.hadoop.mapred.InvalidJobConfException : Output directory not set 中的异常

嘿,你能帮我清除以下错误吗?当我运行Mapreduce作业fopr将数据从hdfs文件插入到hbase表中时,我得到了这个。使用HFileOutputFormat.class,之前我使用MultiTableOutputFormat.class运行相同的程序,它工作正常,但是在将数据插入hbase表时花费了很多时间。那么你能帮帮我吗……:)*job.setMapOutputKeyClass(ImmutableBytesWritable.class);job.setMapOutputValueClass(Put.class);job.setInputFormatClass(TextInpu