原创 Kettle問題集錦

1、初次啓動kettle時,無法連接MySQL數據庫解決方法:將5.5版本的MySQL的JDBC驅動(mysql-connector-java-5.1.22-bin.jar)添加到目錄data-ntegration\libext\JDBC

原创 linux環境下的gcc編譯器與vc6.0環境的編譯器

一、用scanf語句作爲輸入時,會在緩衝區中留下一個回車符,如果是第一次調用gets(s)函數,它會將這個回車符讀入,導致s中只有一個回車符,而其他內容無法讀取。 1、vc6.0環境下的解決方法: 在gets(s)之前加入fflush(s

原创 Intel OpenStack之電面

今天下午四點半收到了Intel 的電話,對方和我聊了大概15分鐘的樣子吧。主要是根據我的簡歷展開的,大部分都是些基礎的技術問題,大致如下: 1、根據簡歷中寫的數據倉庫項目,詳細的闡述一下。 2、你對Linux環境熟悉嗎?在Linux環境下

原创 Ubuntu下搭建基於Eclipse的Hadoop平臺

本文將討論在Ubuntu下搭建Hadoop,同時在Eclipse下開發MapReduce程序。 環境配置:Ubuntu12.0.4、Hadoop0.20.2、Eclipse3.7.2、JDK6 第一步:安裝JDK和配置環境變量 下載jdk

原创 JXL操作Excel內容自動換行

new WritableCellFormat().setWrap(true);//通過調整寬度和高度自動換行 new WritableSheet().setColumnView(1,10)//設置第2列寬度爲10 new Writable

原创 Install Hadoop on Ubuntu with two computers

This post is about the installation of Hadoop on Ubuntu with two computers. The system environment is Ubuntu 12.04, JDK

原创 MapReduce的核心資料索引

MapReduce的核心資料索引 轉自http://prinx.blog.163.com/blog/static/190115275201211128513868/和http://www.cnblogs.com/jie465831735

原创 如何定義深度未知的層次結構

深度未知的層次結構在現實生活中經常出現,比如公司的員工組織關係、地域關係、文件系統中的樹形結構等等,在展示的時候都可以很清楚的看到上下之間的關係。那麼後臺又是如何實現的呢。接下來介紹兩種方法。 第一種:按編碼從小到大的方式排序(展示比較容

原创 Ubuntu常見錯誤

ubuntu 常見錯誤--Could not get lock /var/lib/dpkg/lock 通過終端安裝程序sudo apt-get install xxx時出錯: E: Could not get lock /var/li

原创 SQL Server中表值函數與標量值函數的比較

本文將討論一下SQL Server中表值函數與標量值函數的區別,說到函數,首先和存儲過程作個比較吧,兩者有一個共同點都是預編譯優化後存儲在磁盤中,所以效率要比T-SQL高一點點。值得注意的是,存儲過程可以創建或訪問臨時表,而函數不可以;同

原创 ubuntu下搭建hadoop問題集錦

(1)問題描述: 解決方法:從hadoop中的examples中拷貝源程序文件,並添加commons-cli-1.1.jar包 (2)問題描述: 解決辦法: i、如果是測試環境,可以取消hadoop hdfs的用戶權限檢查。打開

原创 Create Parent-Child Dimension with SSAS

This post is about parent-child dimension in ssas. In order to create parent-child dimension successfully, the parent's

原创 Common errors in SQL server

This post is about serval common errors in sql server. 1.login failed for user sa because the account is currently lock

原创 add new node in hadoop without restarting the cluster

For the new nodestep 1:modify /etc/hostname slave0X =============================================For the master nodeste

原创 sql server中秒數轉時間差

sql server中把秒數轉化爲時間差: declare @seconds int=120; select case when @seconds/86400<>0 then convert(nvarchar,@seconds/86400