【人是會思考的一棵葦草】Man is but a reed, the weakest in nature, but he is a thinking reed. All our dignity consists in thought.
Man is but a reed, the weakest in nature, but he is a thinking reed. All our dignity consists in tho...
相關推薦
【人是會思考的一棵葦草】Man is but a reed, the weakest in nature, but he is a thinking reed. All our dignity consists in thought.
Man is but a reed, the weakest in nature, but he is a thinking reed. All our dignity consists in tho...
【Big Data 每日一題20180916】Spark累加器(Accumulator)陷阱及解決辦法
Accumulator簡介 Accumulator是spark提供的累加器,顧名思義,該變數只能夠增加。 只有driver能獲取到Accumulator的值(使用value方法),Task只能對其做增加操作(使用 +=)。你也可以在為Accumulator命名(不支援Py
【Big Data 每日一題20180927】Structured Streaming 之 Event Time 解析
Structured Streaming 之 Event Time 解析 [酷玩 Spark] Structured Streaming 原始碼解析系列 ,返回目錄請 猛戳這裡 本文內容適用範圍: * 2017.07.11 update, Spark 2.2 全系列
【Big Data 每日一題20180926】Structured Streaming 之狀態儲存解析
Structured Streaming 之狀態儲存解析 [酷玩 Spark] Structured Streaming 原始碼解析系列 ,返回目錄請 猛戳這裡 本文內容適用範圍: * 2017.07.11 update, Spark 2.2 全系列 √ (已釋出:2
【PHP整合環境一鍵安裝】Windows下php整合環境一鍵安裝教程
目標:讓天下沒有難配的php環境。 該程式包整合 Apache+Nginx+LightTPD+PHP+MySQL+phpMyAdmin+Zend Optimizer+Zend Loader,一次性安裝,無須配置即可使用,是非常方便、好用的PHP除錯環境。該程式綠色小巧簡
【Big Data 每日一題20181104】Minor GC、Major GC和Full GC之間的區別
在 Plumbr 從事 GC 暫停檢測相關功能的工作時,我被迫用自己的方式,通過大量文章、書籍和演講來介紹我所做的工作。在整個過程中,經常對 Minor、Major、和 Full GC 事件的使用感到困惑。這也是我寫這篇部落格的原因,我希望能清楚地解釋這其中的一些疑惑。 文
【Big Data 每日一題20181028】Alluxio簡介
一、Alluxio是什麼? Alluxio是一個基於記憶體的分散式檔案系統,它是架構在底層分散式檔案系統和上層分散式計算框架之間的一箇中間件,主要職責是以檔案形式在記憶體或其它儲存設施中提供資料的存取服務。 Alluxio的前身為Tach
【Big Data 每日一題20180821】Spark中ml和mllib的區別
Spark中ml和mllib的主要區別和聯絡如下: ml和mllib都是Spark中的機器學習庫,目前常用的機器學習功能2個庫都能滿足需求。 spark官方推薦使用ml, 因為ml功能更全面更靈活,未來會主要支援ml,mllib很有可能會被廢棄(據說可能是在spark3.
【資訊學奧賽一本通】題解目錄
OJ網站:點選這裡 第一部分 C++語言 第一章 C++語言入門 T1001 Hello,World! 點選這裡 T1002 輸出第二個整數 點選這裡 T1003 對齊輸出 點選這裡 T1004 字元三角形
【Big Data 每日一題20181116】塊儲存、檔案儲存、物件儲存意義及差異
關於塊儲存、檔案儲存、物件儲存方面的知識在知乎上看到了個很好的解答:https://www.zhihu.com/question/21536660 通俗易懂,查了些資料做了詳細的補充。 塊儲存 典型裝置:磁碟陣列、硬碟 塊儲存主要是將裸磁碟空間整個
【Big Data 每日一題20180831】Spark 的 task 資料 locality?
在Spark Application Web UI的 Stages tag 上,tasks 的一些資訊,其中 Locality Level 一欄的值可以有 PROCESS_LOCAL: 資料在同一個 JVM 中,即同一個 executor 上。這是最佳資料 locali
【Big Data 每日一題20180921】Spark 序列化問題
在Spark應用開發中,很容易出現如下報錯: org.apache.spark.SparkException: Task not serializable at org.apache.spark.util.ClosureCleaner$.ensureSerializab
【Big Data 每日一題-20181115】linux 命令技巧 chmod & Set-User-ID & Set-Group-ID
本篇文章討論的是Linux/Unix的許可權問題,包括檔案的訪問許可權、可執行檔案的許可權以及修改這些許可權的命令chmod。 Linux許可權模式介紹 用ls -l命令列出檔案的詳細資訊,關於ls -l參見這裡。 1 2 3 4 5 6
【Big Data 每日一題20181031】深入分析volatile的實現原理
通過前面一章我們瞭解了synchronized是一個重量級的鎖,雖然JVM對它做了很多優化,而下面介紹的volatile則是輕量級的synchronized。如果一個變數使用volatile,則它比使用synchronized的成本更加低,因為它不會引起執行緒上下文的切換
【資訊學奧賽一本通】1256:獻給阿爾吉儂的花束
傳送門:獻給阿爾吉儂的花束 1256:獻給阿爾吉儂的花束 時間限制: 1000 ms 記憶體限制: 65536 KB 提交數: 1696 通過數: 685 【題
【python視覺化一Matplotlib 繪製】視覺化圖片中顯示中文
# ----------------------顯示中文----神奇般的存在---------------- from pylab import * mpl.rcParams['font.sans-serif'] = ['SimHei'] # ----------------------
【Big Data 每日一題20181101】如何用訊息系統避免分散式事務?
前陣子從支付寶轉賬1萬塊錢到餘額寶,這是日常生活的一件普通小事,但作為網際網路研發人員的職業病,我就思考支付寶扣除1萬之後,如果系統掛掉怎麼辦,這時餘額寶賬戶並沒有增加1萬,資料就會出現不一致狀況了。 上述場景在各個型別的系統中都能找到相似影子,比如在電商系統中,當
【轉自阮一峰老師】React Router中IndexRoute元件的用法
IndexRoute 元件 下面的例子,你會不會覺得有一點問題? <Router> <Route path="/" component={App}> <Route path="accounts" component={Accou
【Big Data 每日一題20180922】sparkstreaming同時消費多個topic的資料實現exactly-once的語義
最近很多人問我,sparkstreaming怎麼消費多個topic的資料,自己維護offest,其實這個跟消費一個topic是一樣的,但還是有很多問我,今天就簡單的寫一個demo,供大家參考,直接上程式碼吧,已經測試過了.我把offest存到redis裡了,當然也可以儲存在z
【Big Data 每日一題20180822】Java動態編譯優化——URLClassLoader 記憶體洩漏問題解決
一、動態編譯案例 要說動態編譯記憶體洩漏,首先我們先看一個案例(網上搜動態編譯的資料是千篇一律,只管實現功能,不管記憶體洩漏,並且都恬不知恥的標識為原創!!) 這篇文章和我google搜的其他文章、資料一樣,屬於JDK1.6以後的版本。確實能實現動態編譯並載入,但