上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 119 下一页

2014年10月31日

pig的一些实例(我常用的语法)

摘要: 在pig中, dump和store会分别完成两个MR,不会一起进行 1:加载名用正则表达式: LOAD'/user/wizad/data/wizad/raw/2014-0{6,7-0,7-1,7-2,7-3,8}*/3_1/adwords*' 或者定义引用:%default cleanedLo... 阅读全文

posted @ 2014-10-31 18:43 代码王子 阅读(184) 评论(0) 推荐(0)

pig简单的代码实例:报表统计行业中的点击和曝光量

摘要: 注意:pig中用run或者exec 运行脚本。除了cd和ls,其他命令不用。在本代码中用rm和mv命令做例子,容易出错。 另外,pig只有在store或dump时候才会真正加载数据,否则,只是加载代码,不具体操作数据。所以在rm操作时必须注意该文件是否已经生成。如果rm的文件为生成,可以第三文件... 阅读全文

posted @ 2014-10-31 16:11 代码王子 阅读(140) 评论(0) 推荐(0)

2014年10月30日

pig代码格式上小注意

摘要: 1,%default file test.txt 中不要用引号,'' 和“”都不行。'file'不会被识别 2,pig判断相等,用==,不是一个=。、 3,pig中只用单引号,不用双引号,如: target_data = FILTER analyze_data BY (wizad_ad_id... 阅读全文

posted @ 2014-10-30 18:08 代码王子 阅读(466) 评论(0) 推荐(0)

2014年10月29日

the process cannot access the file because it is being used by another process

摘要: 当在IIS中修改绑定的端口号后启动时遇到如下错误,表明你的端口号已经被占用了 使用netstat -ano这个指令查看本地端口占用情况,换一个没有被占用的端口即可。  阅读全文

posted @ 2014-10-29 11:28 代码王子 阅读(356) 评论(0) 推荐(0)

SharePoint 2013: The "New Web Application" button is disabled is the central administration

摘要: 安装完sharepoint foundation2013后,直接通过url访问管理中心,想进application management去新建的话会发现新建按钮是灰色的,即使你用的是系统管理员账号并且是安装sharepoint的账号也是无济于事的 要解决这个问题,只要打开开始... 阅读全文

posted @ 2014-10-29 11:19 代码王子 阅读(138) 评论(0) 推荐(0)

Integration between SharePoint 2013 and CRM 2013 (On-Premise)

摘要: 具体步骤可见下面的链接 https://community.dynamics.com/crm/b/msdynamicscrmtips/archive/2014/01/27/integration-between-sharepoint-2013-and-crm-2013-on-premi... 阅读全文

posted @ 2014-10-29 09:58 代码王子 阅读(112) 评论(0) 推荐(0)

2014年10月28日

如何成为一名数据科学家?

摘要: Data Science = statistics who uses python and lives in San Francisco" 恰好我马上启程到 Twitter 的 data science team,而且恰巧懂一点点统计和住在旧金山,所以冲动地没有邀请就厚脸回答了:D 我认为... 阅读全文

posted @ 2014-10-28 13:52 代码王子 阅读(142) 评论(0) 推荐(0)

2014年10月27日

Windows Server2012R2 添加Microsoft .NET Framework 3.5 功能失败的解决方法

摘要: 最近部署了一台Windows Server2012R2的虚机,在安装sharepoint foundation 2013之前安装必备的组件的时候安装到一半报错了没有安装成功,后来发现原来是系统的.NET Framework 3.5功能没装。但是在添加该功能的时候又遇到揪心的问题了,不... 阅读全文

posted @ 2014-10-27 22:40 代码王子 阅读(152) 评论(0) 推荐(0)

Windows Server2012R2 安装 SharePoint 2013 的必备组件

摘要: Windows Server2012R2目前支持SharePoint Server 2013 with Service Pack 1 和 SharePoint Foundation 2013 with Service Pack 1,如果不是会在安装sharepoint必备组件时报不... 阅读全文

posted @ 2014-10-27 15:54 代码王子 阅读(139) 评论(0) 推荐(0)

2014年10月24日

pig加载两个不同字段个数的文件?load file with different items(f1有42列,f2有43列读到一个对象中)

摘要: 我文章提到,加载一个文件的部分列是可行。两列,你只读一列,没问题。 但是,两个文件,f1和f2,f1有42列,f2有43列,同时加载到一个流对象,如何? 答:成功加载。但是无结构(schema unknown),discribe后看到:Schema for origin_cleaned_data... 阅读全文

posted @ 2014-10-24 17:23 代码王子 阅读(105) 评论(0) 推荐(0)

上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 119 下一页

导航