草庐IT

Username-Password-Authentication

全部标签

hadoop - Apache Flume 连接到 twitter API 401 :Authentication credentials

我正在尝试使用ApacheFlume将推文保存到我的HDFS。我目前正在将Cloudera图像与Hadoop和Flume一起使用。我正在按照Cloudera博客中的教程进行操作,但无法连接到TwitterAPI。我收到以下错误:2014-03-1409:43:14,021INFOorg.apache.flume.node.Application:Waitingforchannel:MemChanneltostart.Sleepingfor500ms2014-03-1409:43:14,069INFOorg.apache.flume.instrumentation.MonitoredCo

hadoop - oozie REST api POST 新配置单元作业获取 "This request requires HTTP authentication."

我正在使用RESTapi将HIVE作业提交给oozie。我尝试使用postman和curl发送请求,但收到一条错误消息:“此请求需要HTTP身份验证。”我尝试在我的Clouderaquickstart和Hortonworks上运行它,但遇到了同样的错误。config.xml是:fs.default.namehdfs://localhost:8020mapred.job.trackerlocalhost:8021user.nameclouderaoozie.hive.scriptselect*fromtest;oozie.libpathhdfs://localhost:8020/user

hadoop - master.HMaster : Failed to become active master SIMPLE authentication is not enabled. 可用:[TOKEN]

我正在尝试在我的本地MAC机器上设置hbase。我通过brew安装了hadoop和hbase。hadoop和hbase的版本分别是2.7.1和1.1.2。我正在尝试以伪分布式模式运行并希望禁用身份验证,因此在以下文件中进行了以下更改。我正在使用hbase动物园管理员。以下是启用SIMPLE身份验证的更改/etc/hadoop/core-site.xmlhadoop.security.authenticationsimplehadoop.security.authorizationfalse还对libexec/conf/hbase-site.xml进行了以下更改hbase.rootdir

security - 如何从命令行向 Hadoop 进行身份验证?删除 `ls: SIMPLE authentication is not enabled` 错误

我正在Hadoop集群上设置Kerberos身份验证。在集群外的一台机器上,每当我执行hadoopfs-ls时,我都会收到以下消息:ls:SIMPLEauthenticationisnotenabled。可用:[TOKEN,KERBEROS],这很好,因为这就是我想要的。但现在我的问题是,我如何真正成功地执行该命令?我知道如果我不进行身份验证我将无法继续,但我如何从命令行进行身份验证? 最佳答案 尝试以下步骤服务器kadmin.localaddprincuser@realm.com客户端kinituser@realm.comklis

authentication - Hadoop 身份验证 http-signature.secret 文件

我正在使用受kerberos身份验证保护的hadoop-2.6.0。对于http身份验证,有一个名为hadoop.http.authentication.signature.secret.file的属性我在core-site.xml中设置了这个属性hadoop.http.authentication.signature.secret.fileC:\http-signature.secrethttp-signature.secret文件是空的。但是http身份验证工作正常。如果我禁用此属性,则在启动节点时会出现错误。我想知道这个secret文件的用途。为什么要设置这个属性?我用谷歌搜索但

linux - 预认证失败 : Password read interrupted while getting initial credentials

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎与helpcenter中定义的范围内的编程无关。.关闭4年前。Improvethisquestion这是我遇到过的事情,我找到了解决方案。从那里没有任何问题,我会把它作为一个问题发布,我会写下我的解决方案作为答案。环境:操作系统:CentosLinux、MacOS(BigSur)集群:ClouderaHadoopDistribution,工具:Kerberos问题:我通过“ktutil”创建了“user.keytab”文件来更新没有密码的krb票据,正如这里推荐的那样https://kb.

authentication - HDFS 数据节点未开始使用 kerberos

我已将kerberos身份验证添加到apachehdfs,名称节点已启动并正在运行,但我无法启动数据节点,出现此异常:2012-08-2317:05:45,648ERRORorg.apache.hadoop.hdfs.server.datanode.DataNode:java.lang.RuntimeException:Cannotstartsecureclusterwithoutprivilegedresources.atorg.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:324)at

hadoop - 我可以将 pig.temp.dir 设置为/user/USERNAME/tmp/pig 吗?

Hive可以配置为hive.exec.scratchdir=/user/${user.name}/tmp/hive我可以用Pig做类似的事情吗?我已尝试修改pig.properties文件,但似乎没有任何效果。pig.temp.dir=/user/${user.name}/tmp/pig我可以用别名替换pig命令,但我希望将更改写入配置文件。pig-Dpig.temp.dir=/user/`whoami`/tmp/pig谢谢!更新:我们决定将/tmp/用于生产系统。这是一个问题的原因是因为我们正在运行MapR,它似乎试图将临时目录放入用户目录,并在Hive上成功,但在Pig上却没有。

authentication - 从 Spark 访问 Hdfs 会出现 token 缓存错误 Can't get Master Kerberos principal for use as renewer

我正在尝试运行测试Spark脚本以将Spark连接到hadoop。脚本如下frompysparkimportSparkContextsc=SparkContext("local","SimpleApp")file=sc.textFile("hdfs://hadoop_node.place:9000/errs.txt")errors=file.filter(lambdaline:"ERROR"inline)errors.count()当我用pyspark运行它时,我得到了py4j.protocol.Py4JJavaError:Anerroroccurredwhilecallingo21.

Hadoop "Permission denied (publickey,password,keyboard-interactive)"警告

我正在关注this在我的电脑上安装Hadoop的教程。完成安装后,当我尝试使用此命令./start-dfs.sh启动Hadoop时,它返回以下内容:U:sbinU$./start-dfs.shStartingnamenodeson[localhost]localhost:U@localhost:Permissiondenied(publickey,password,keyboard-interactive).Startingdatanodeslocalhost:U@localhost:Permissiondenied(publickey,password,keyboard-intera