原创 HIve 建表, 導入HDFS路徑文件; 遇到問題及解決策略

現有hdfs路徑hadoop fs -du -h /user/portal/ODM/push/pushcatch_data_collect/ 路徑下有每天分區 284.2 K /user/portal/ODM/push/push

原创 Hive - 將本地磁盤文件導入到Hive表

桌面有txt文件名爲: words.txt 上傳至本地服務器: rz 在Hive中建表 create table tmp.words_counts (word string ) STORED AS TEXTFILE LOCATIO

原创 HDFS 路徑建表遇到問題及解決策略

現有hdfs路徑hadoop fs -du -h /user/portal/ODM/RECOMMEND/abc; 路徑下有每天分區 139.1 M /user/portal/ODM/RECOMMEND/readAgentInfo/a

原创 Centos7 wordpress路徑問題, 出現Sorry, but I can’t write the wp-config.php file.

1.首先可嘗試這位同學的辦法, 修改nginx配置文件root的目錄; https://blog.csdn.net/edison_03/article/details/82750935 2. 將latest.tar.gz的解壓文件wo

原创 ERROR 1045 (28000): Access denied for user 'xxx'@'localhost' (using password: YES)

ERROR 1045 (28000): Access denied for user ‘xxx’@‘localhost’ (using password: YES) 在MariDB添加新用戶時: mysql> GRANT ALL PR

原创 Hadoop 文件部分命令(文件行數)

1.hdfs下載文件夾中多個文件 hadoop fs -get /目錄 目錄 結果是輸出到本地的文件夾之中 2.多個文件合併後輸出到一個文件之中 hadoop fs -getmerge filePath localPath

原创 FAILED: ParseException line 3:7 character ' ' not supported here 錯誤

建表時候老報錯: ParseException line 3:7 character ’ ’ not supported here 查了許久終於發現 (這裏看不清楚,其實是個·), 在兩個字符中間; 最終在有道Markdown編輯模