今天在CDH上执行hivesql的时候报了一个错。错误内容为:FAILED:ExecutionError,returncode1fromorg.apache.hadoop.hive.ql.exec.MoveTask错误语句:INSERTOVERWRITEDIRECTORY‘{$dir}‘select*fromtmp_analyse_oswherelogdata=‘{$begin}‘;错误原因:hive源码会检查导出的路径是否..
分类:
其他好文 时间:
2014-08-18 18:53:13
阅读次数:
260
/** 将所有数据导出成Excel,让客户知道哪些记录是异常的(异常的变红色) */public void exportExcel(ArrayList prisonerImportList, String dir, String filename) {dir = dir + "/" + filena...
分类:
其他好文 时间:
2014-08-18 18:31:12
阅读次数:
223
Execute("select products_id, products_image from ".TABLE_PRODUCTS); while (!$pro_list->EOF){ if(file_exists(DIR_WS_IMAGES.$pro_list->fields[...
分类:
其他好文 时间:
2014-08-18 18:26:42
阅读次数:
209
搞了整整一天了还是没有搞好,网上看了很多解决办法都没有用。 首先我绝对保证: 1:我绝对已经把 php.ini 中的;extension_dir = "C:/myenv/php-5.3.5/ext"分号去掉了, 也写上了路径。这点排除 2:我保证已经启用mysql功能,在php.ini中去ex...
分类:
数据库 时间:
2014-08-18 15:45:12
阅读次数:
243
打开MAGENTO_INSTALLED_DIR/app/design/frontend/default/default/layout/page.xml 找到名字为'root'的block定义更改为">template处指定你定制的layout模板文件
分类:
其他好文 时间:
2014-08-18 09:11:53
阅读次数:
235
1、ls:类似于dos下的dir命令ls最常用的参数有三个:-a -l -F。ls –aLinux上的文件以.开头的文件被系统视为隐藏文件,仅用ls命令是看不到他们的,而用ls -a除了显示一般文件名外,连隐藏文件也会显示出来。ls –l该参数显示更详细的文件信息。ls –F使用...
分类:
其他好文 时间:
2014-08-18 01:29:43
阅读次数:
345
xdebug.profiler_enable=on
xdebug.trace_output_dir="/opt/phpxdebug"
xdebug.profiler_output_dir="/opt/phpxdebug"
xdebug.show_exception_trace=On
xdeb...
分类:
系统相关 时间:
2014-08-17 18:26:12
阅读次数:
261
Drupal8的主题制作准备工作已经完成了,那么我们接下来就开始正式制作主题了!一、生成主题的Compass框架首先我们先进入到Druapl8的主题目录:cd/var/www/druapl8/themes然后利用Compass生成主题框架:compasscreatefirehare--css-dir=css--p_w_picpaths-dir=img--javascripts-..
分类:
其他好文 时间:
2014-08-16 01:07:40
阅读次数:
300
一个简单的三维BFS:
刚开始说内存超出了,就把 标记走过的路语句 和 判断到达终点的语句 放在了push(next)之前
#include
#include
#include
#include
#define N 51
using namespace std;
struct node{
int x,y,z;
int t;
};
int dir[8]...
分类:
其他好文 时间:
2014-08-15 14:45:28
阅读次数:
292
1 FRESULT f_chdir ( 2 const TCHAR *path /* Pointer to the directory path */ 3 ) 4 { 5 FRESULT res; 6 DIR dj; 7 DEF_NAMEBUF; 8 9 1...
分类:
其他好文 时间:
2014-08-14 13:45:18
阅读次数:
529