自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

九遍斋的专栏

行成于思

  • 博客(2)
  • 资源 (9)
  • 收藏
  • 关注

原创 使用maven shade plugin打包uber jar包

最近项目需要,在使用spark编写Java应用时,最终编写的程序必须打包成一个jar包才能提交到spark集群运行。由于spark是一个分布式系统,提交的程序最终将分散到许多节点上运行,如果程序依赖其他jar包,那么运行环境的部署将会非常头痛。为此,spark使用文档里建议将应用打包成assembly jar或者uber jar再提交。 经查,assembly jar包似乎比uber j

2015-04-15 17:04:37 8173

原创 Difference between maven scope compile and provided for JAR packaging

compile This is the default scope, used if none is specified. Compile dependencies are available in all classpaths of a project. Furthermore, those dependencies are propagated to dependent projects.

2015-04-15 14:47:05 689

Using the POSIX API - Threads, real-time and IPC

In Linux, when a new process is created, it already contains a thread, used to execute the main() function Additional threads can be created using the pthread library, which is part of the C library Of course all threads inside a given process will share the same address space, the same set of open files, etc. The pthread library also provide thread synchronization primitives: mutexes and conditions This pthread library has its own header : pthread.h Applications using pthread function calls should be explicitly linked with the pthread library gcc ­o app app.c ­lpthread

2013-03-24

New features in Linux-2.6

虽然Linux早已到了3.8时代,但是2.6内核非常经典,在嵌入式行业依然被广泛应用。这部slides专为嵌入式开发人员而写。

2013-03-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除