草庐IT

filter-name

全部标签

hadoop - 使用pywebhdfs创建hdfs文件报错: [Errno -2] Name or service not known

关于我的开发环境的一些信息:开放堆栈:朱诺hadoop:2.4.1pywebhdfs:0.4.0我通过openstacksahara客户端API创建一个hadoop集群,然后我想使用pywebhdfs创建一个文件到HDFS(用于在创建的hadoop集群上启Action业)。但是在创建HDFS文件时出现错误,错误信息为:HTTPConnectionPool(host='vanillacluster-vanillacluster-slave-vanilla-002.novalocal',port=50075):Maxretriesexceededwithurl:/webhdfs/v1/us

scala - Spark 斯卡拉 : JniBasedUnixGroupsMapping: Error getting groups for XXX: The user name could not be found

我一直在使用scalaIDE中的spark从我的本地系统连接到Hive(在集群中),最后将我的hive-site.xml正确地放置在Spark/conf文件夹和类路径中并且能够连接到Metastore但是无法访问配置单元表。如何更改HiveContext的用户15/12/2210:28:42INFOParseDriver:解析命令:显示表15/12/2210:28:43信息ParseDriver:解析已完成15/12/2210:28:45信息Metastore:尝试使用URIthrift://Server.com:9083连接到Metastore22年12月15日10:28:46信息J

hadoop - Name Node 同时作为 Secondary Name Node 是否理想?

我正在通过RaspberryPi练习hadoop集群,根据本教程(http://www.widriksson.com/raspberry-pi-hadoop-cluster/),他在hadoopmasters文件配置中设置了node1,这令人困惑,因为他还使用节点启动hadoop守护进程。我也想知道他配置的原因附言-只需ctrl+f大师 最佳答案 不,这并不理想。如何配置集群取决于您。在本教程中,作者决定同时使用node1作为P-NN和S-NN。请记住,RPiHadoop集群仅适用于开发和测试,而不适用于生产环境。在单独的机器上运行

sql - 如何正确格式化 "select top 1000 * from schema.table_name;"以在 Toad 4 Apache Hadoop 中工作?

尝试在Toad4ApacheHadoop(Hive)中运行它,它无法识别top函数。我该如何重新格式化?selecttop1000*fromFinance.ACCT_LIST 最佳答案 您可以使用LIMIT:select*fromFinance.ACCT_LISTorderbysomecolumnlimit1000如果你想得到一组一致的行,你应该添加一个orderby子句。 关于sql-如何正确格式化"selecttop1000*fromschema.table_name;"以在Toad

hadoop - pig FILTER ERROR 1000 : Error during parsing. 遇到

这个脚本运行良好data1=LOAD'/user/maria_dev/ml-100k/test/u3.data'AS(usesrID:int,movieID:int,rating:int,ratingTime:int);DUMPdata1;输出是当我通过错误使用FILTER然后PIGdata1=LOAD'/user/maria_dev/ml-100k/test/u3.data'AS(usesrID:int,movieID:int,rating:int,ratingTime:int);filterRowData1=filterdata1by(int)movieID==556;DUMPfi

hadoop - 如何修复 Jython 和 HBase 中的 "ImportError: No module name apache"错误

我正在尝试运行以下Jython代码来扫描hbase表:importjava.langfromorg.apache.hadoop.hbaseimportTableName,HBaseConfigurationfromorg.apache.hadoop.hbase.clientimportConnection,ConnectionFactory,Result,ResultScanner,Table,Adminfromorg.apache.hadoop.confimportConfigurationconf=HBaseConfiguration.create()connection=Conn

spring - 获取异常 : No bean named 'springSecurityFilterChain' is defined

我正在从引用资料中学习Spring安全性。发布3.1.2.RELEASE。如前所述,我已经像这样配置了security:http标记security-context.xmlweb.xmlcontextConfigLocationclasspath*:*-context.xmlspringSecurityFilterChainorg.springframework.web.filter.DelegatingFilterProxyspringSecurityFilterChain/*org.springframework.web.context.ContextLoaderListeners

spring - 获取异常 : No bean named 'springSecurityFilterChain' is defined

我正在从引用资料中学习Spring安全性。发布3.1.2.RELEASE。如前所述,我已经像这样配置了security:http标记security-context.xmlweb.xmlcontextConfigLocationclasspath*:*-context.xmlspringSecurityFilterChainorg.springframework.web.filter.DelegatingFilterProxyspringSecurityFilterChain/*org.springframework.web.context.ContextLoaderListeners

hadoop - Apache pig : Filter one tuple on another?

我想根据col2中的条件,并在操作col2之后,通过拆分两个元组(或Pig中的任何名称)来运行Pig脚本,进入另一列,比较两个被操纵的元组并进行额外的排除。REGISTER/home/user1/piggybank.jar;log=LOAD'../user2/hadoop_file.txt'AS(col1,col2);--log=LIMITlog1000000;isnt_filtered=FILTERlogBY(NOTcol2=='Somevalue');isnt_generated=FOREACHisnt_filteredGENERATEcol2,col1,RANDOM()*1000

hadoop - Apache pig -错误 6007 : Unable to check name

我正在尝试运行Pig教程(http://pig.apache.org/docs/r0.11.1/start.html#pig-scripts)中的基本脚本,如下所示:/*myscript.pigMyscriptissimple.ItincludesthreePigLatinstatements.*/A=LOAD'student'USINGPigStorage()AS(name:chararray,age:int,gpa:float);--loadingdataB=FOREACHAGENERATEname;--transformingdataDUMPB;--retrievingresul