11 2017 档案
摘要:1.进行矩阵计算的时候,由于持续时间长,往往会出现超时的错误,错误内容如下: INFO mapreduce.Job: Task Id : attempt_1422500209602_0008_m_000000_0, Status : FAILED AttemptID:attempt_14225002
阅读全文
摘要:1.进行矩阵计算的时候,由于持续时间长,往往会出现超时的错误,错误内容如下: INFO mapreduce.Job: Task Id : attempt_1422500209602_0008_m_000000_0, Status : FAILED AttemptID:attempt_14225002
阅读全文
摘要:ambari On host centos1.hadoop role YARN_CLIENT in invalid state. Invalid transition. Invalid event: HOST_SVCCOMP_OP_IN_PROGRESS at INSTALL_FAILED 登录元数
阅读全文
摘要:ambari On host centos1.hadoop role YARN_CLIENT in invalid state. Invalid transition. Invalid event: HOST_SVCCOMP_OP_IN_PROGRESS at INSTALL_FAILED 登录元数
阅读全文
摘要:1.The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. hbase-env.sh
阅读全文
摘要:1.The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. hbase-env.sh
阅读全文
摘要:配置cd /etc/hue/conf vi hue.ini desktop default_hdfs_superuser hadoop HDFS管理用户 desktop http_host 10.10.41.123 Hue Web Server所在主机/IP desktop http_port 80
阅读全文
摘要:配置cd /etc/hue/conf vi hue.ini desktop default_hdfs_superuser hadoop HDFS管理用户 desktop http_host 10.10.41.123 Hue Web Server所在主机/IP desktop http_port 80
阅读全文
摘要:Hue介绍 Hue是一个可快速开发和调试Hadoop生态系统各种应用的一个基于浏览器的图形化用户接口。 Hue作用 1,访问HDFS和文件浏览 2,通过web调试和开发hive以及数据结果展示 3,查询solr和结果展示,报表生成 4,通过web调试和开发impala交互式SQL Query 5,s
阅读全文
摘要:word导出用的docx4j public static void exportWordImg(String wordpath,List<String> contentlist,String[] imglist) throws Exception{ exportQuestionWord t=new
阅读全文
摘要:poi导入word纯文本 public List exportWord(List<Question> list,String filePath){ List<String> newlist = new ArrayList<>();// XWPFDocument document= new XWPFD
阅读全文
摘要:word导入的时候,如果有图片,poi图片可以抓出,但是不能定位位置,目前没有想到好的解决方案。 word导出,纯文本用的是poi,图文的文档用docx4j。 还有FreeMarker,用xml/ftl里面封装要导出格式的文档,设置key,最后通过map封装,导出word,我是用mac开发的,有一些
阅读全文
摘要:word纯文本导入,我用的是poi //其中的实体,可以不用看,只看两种word(doc,docx)数据封装就可以 public static List<Question> parseWord(String in) throws Exception{ List<String> list=new Ar
阅读全文
摘要:word转图片: 2.word转pdf用的OpenOffice,pdf转图片icepdf。 我在mac系统运行的,用命令行打开OpenOffice服务 mac的命令行: odconverter-core cd /Applications/OpenOffice.app/Contents/program
阅读全文
摘要:word转图片方法: 1.word转pdf用的是poi,pdf转图片用的是icepdf /** * 将word文档, 转换成pdf, 中间替换掉变量 * @param source 源为word文档, 必须为docx文档 * @param target 目标输出 * @param params 需要
阅读全文
摘要:word转图片: 1.先转成pdf,pdf转出图片。 word转pdf 方法1.poi读取doc + itext生成pdf (实现最方便,效果最差,跨平台) 方法2.jodconverter + openOffice (一般格式实现效果还行,复杂格式容易有错位,跨平台) 方法3.jacob + ms
阅读全文