一、试验环境:

CentOS6.6 最小化安装;主机名spark-test,IP:10.10.10.26

OpenStack虚拟云主机。

注:安装流程:进入linux->安装JDK->安装scala->安装spark。


二、安装JDK

下载JDK:

版本jdk-6u45-linux-x64.bin,下载见Oracle官网

建立data文件夹,用来存放数据

# mkdir /data

[root@spark-test data]# ls
jdk-6u45-linux-x64.bin  scala-2.11.6.tgz  spark-1.3.0-bin-hadoop2.4.tgz

安装jdk

[root@spark-test data]# chmod u+x jdk-6u45-linux-x64.bin      //增加执行权限
[root@spark-test data]# ./jdk-6u45-linux-x64.bin

配置环境变量

[root@spark-test data]# vim /etc/profile

#JAVA VARIABLES START
export JAVA_HOME=/data/jdk1.6.0_45
export PATH=$PATH:$JAVA_HOME/bin
#JAVA VARIABLES END

[root@spark-test data]# source /etc/profile
[root@spark-test data]# java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

三、安装scala

下载Scala,版本2.11.6  网址:http://www.scala-lang.org/download/2.11.6.html

安装Scala

[root@spark-test data]# tar -zxvf  scala-2.11.6.tgz

配置环境变量

[root@spark-test data]# vim /etc/profile

#SCALA VARIABLES START
export SCALA_HOME=/data/scala-2.11.6
export PATH=$PATH:$SCALA_HOME/bin
#SCALA VARIABLES END

[root@spark-test data]# source /etc/profile
[root@spark-test data]# scala -version
Scala code runner version 2.11.6 -- Copyright 2002-2013, LAMP/EPFL

Scala配置成功

四、安装Spark

从官网下载http://spark.apache.org/downloads.html

下载编译后的版本

解压安装

[root@spark-test data]# tar -zxvf spark-1.3.0-bin-hadoop2.4.tgz

配置Spark环境变量:

[root@spark-test data]# vim /etc/profile

#SPARK VARIABLES START
export SPARK_HOME=/data/spark-1.3.0-bin-hadoop2.4
export PATH=$PATH:$SPARK_HOME/bin
#SPARK VARIABLES END

[root@spark-test data]# source /etc/profile

切换到conf目录:

[root@spark-test conf]# ls
fairscheduler.xml.template   slaves.template
log4j.properties.template    spark-defaults.conf.template
metrics.properties.template  spark-env.sh.template
[root@spark-test conf]# mv spark-env.sh.template spark-env.sh

[root@spark-test conf]# vim spark-env.sh 

export SCALA_HOME=/data/scala-2.11.6
export JAVA_HOME=/data/jdk1.6.0_45
export SPARK_MASTER_IP=10.10.10.26
export SPARK_WORKER_MEMORY=1024m
export master=spark://10.10.10.26:7070

[root@spark-test conf]# vim slaves 

spark-test

启动spark集群:

[root@spark-test sbin]# pwd
/data/spark-1.3.0-bin-hadoop2.4/sbin
[root@spark-test sbin]# ./start-all.sh

验证:

[root@spark-test sbin]# jps
22974 Worker
23395 Jps
22830 Master

 

 

测试:

切换目录

[root@spark-test bin]# pwd
/data/spark-1.3.0-bin-hadoop2.4/bin

运行样例:

[root@spark-test spark-1.3.0-bin-hadoop2.4]# ./bin/run-example org.apache.spark.examples.SparkPi
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
15/04/01 11:40:48 INFO SparkContext: Running Spark version 1.3.0
15/04/01 11:40:49 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
15/04/01 11:40:49 INFO SecurityManager: Changing view acls to: root
15/04/01 11:40:49 INFO SecurityManager: Changing modify acls to: root
15/04/01 11:40:49 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root)
15/04/01 11:40:49 INFO Slf4jLogger: Slf4jLogger started
15/04/01 11:40:49 INFO Remoting: Starting remoting
15/04/01 11:40:50 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@spark-test.novalocal:58680]
15/04/01 11:40:50 INFO Utils: Successfully started service 'sparkDriver' on port 58680.
15/04/01 11:40:50 INFO SparkEnv: Registering MapOutputTracker
15/04/01 11:40:50 INFO SparkEnv: Registering BlockManagerMaster
15/04/01 11:40:50 INFO DiskBlockManager: Created local directory at /tmp/spark-53cdf980-4803-480f-8936-2b3bb7e2bbfc/blockmgr-c15cfa29-3bfb-4ee8-a0d3-b9735bfe9dea
15/04/01 11:40:50 INFO MemoryStore: MemoryStore started with capacity 265.0 MB
15/04/01 11:40:50 INFO HttpFileServer: HTTP File server directory is /tmp/spark-22f9b0df-bfdb-435d-b504-ab1c52b73556/httpd-244e5d7f-9c1d-48d8-bd95-2ed985ecb3a0
15/04/01 11:40:50 INFO HttpServer: Starting HTTP Server
15/04/01 11:40:50 INFO Server: jetty-8.y.z-SNAPSHOT
15/04/01 11:40:50 INFO AbstractConnector: Started SocketConnector@0.0.0.0:59040
15/04/01 11:40:50 INFO Utils: Successfully started service 'HTTP file server' on port 59040.
15/04/01 11:40:50 INFO SparkEnv: Registering OutputCommitCoordinator
15/04/01 11:40:50 INFO Server: jetty-8.y.z-SNAPSHOT
15/04/01 11:40:50 INFO AbstractConnector: Started SelectChannelConnector@0.0.0.0:4040
15/04/01 11:40:50 INFO Utils: Successfully started service 'SparkUI' on port 4040.
15/04/01 11:40:50 INFO SparkUI: Started SparkUI at http://spark-test.novalocal:4040
15/04/01 11:40:51 INFO SparkContext: Added JAR file:/data/spark-1.3.0-bin-hadoop2.4/lib/spark-examples-1.3.0-hadoop2.4.0.jar at http://10.10.10.26:59040/jars/spark-examples-1.3.0-hadoop2.4.0.jar with timestamp 1427859651127
15/04/01 11:40:51 INFO AppClient$ClientActor: Connecting to master akka.tcp://sparkMaster@10.10.10.26:7070/user/Master...
15/04/01 11:40:51 WARN AppClient$ClientActor: Could not connect to akka.tcp://sparkMaster@10.10.10.26:7070: akka.remote.InvalidAssociation: Invalid address: akka.tcp://sparkMaster@10.10.10.26:7070
15/04/01 11:40:51 WARN Remoting: Tried to associate with unreachable remote address [akka.tcp://sparkMaster@10.10.10.26:7070]. Address is now gated for 5000 ms, all messages to this address will be delivered to dead letters. Reason: Connection refused: /10.10.10.26:7070
15/04/01 11:41:11 INFO AppClient$ClientActor: Connecting to master akka.tcp://sparkMaster@10.10.10.26:7070/user/Master...
15/04/01 11:41:11 WARN AppClient$ClientActor: Could not connect to akka.tcp://sparkMaster@10.10.10.26:7070: akka.remote.InvalidAssociation: Invalid address: akka.tcp://sparkMaster@10.10.10.26:7070
15/04/01 11:41:11 WARN Remoting: Tried to associate with unreachable remote address [akka.tcp://sparkMaster@10.10.10.26:7070]. Address is now gated for 5000 ms, all messages to this address will be delivered to dead letters. Reason: Connection refused: /10.10.10.26:7070
15/04/01 11:41:31 INFO AppClient$ClientActor: Connecting to master akka.tcp://sparkMaster@10.10.10.26:7070/user/Master...
15/04/01 11:41:31 WARN AppClient$ClientActor: Could not connect to akka.tcp://sparkMaster@10.10.10.26:7070: akka.remote.InvalidAssociation: Invalid address: akka.tcp://sparkMaster@10.10.10.26:7070
15/04/01 11:41:31 WARN Remoting: Tried to associate with unreachable remote address [akka.tcp://sparkMaster@10.10.10.26:7070]. Address is now gated for 5000 ms, all messages to this address will be delivered to dead letters. Reason: Connection refused: /10.10.10.26:7070
15/04/01 11:41:51 ERROR SparkDeploySchedulerBackend: Application has been killed. Reason: All masters are unresponsive! Giving up.
15/04/01 11:41:51 ERROR TaskSchedulerImpl: Exiting due to error from cluster scheduler: All masters are unresponsive! Giving up.
15/04/01 11:41:51 WARN SparkDeploySchedulerBackend: Application ID is not initialized yet.
[root@spark-test spark-1.3.0-bin-hadoop2.4]# ./bin/run-example org.apache.spark.examples.SparkPi
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
15/04/01 11:53:22 INFO SparkContext: Running Spark version 1.3.0
15/04/01 11:53:22 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
15/04/01 11:53:22 INFO SecurityManager: Changing view acls to: root
15/04/01 11:53:22 INFO SecurityManager: Changing modify acls to: root
15/04/01 11:53:22 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root)
15/04/01 11:53:23 INFO Slf4jLogger: Slf4jLogger started
15/04/01 11:53:23 INFO Remoting: Starting remoting
15/04/01 11:53:23 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@spark-test.novalocal:55722]
15/04/01 11:53:23 INFO Utils: Successfully started service 'sparkDriver' on port 55722.
15/04/01 11:53:23 INFO SparkEnv: Registering MapOutputTracker
15/04/01 11:53:23 INFO SparkEnv: Registering BlockManagerMaster
15/04/01 11:53:23 INFO DiskBlockManager: Created local directory at /tmp/spark-d70142c7-effd-40c0-b050-f39d727d6e33/blockmgr-6d5699cc-acf8-4ab9-8b39-dfb5385209e5
15/04/01 11:53:23 INFO MemoryStore: MemoryStore started with capacity 265.0 MB
15/04/01 11:53:23 INFO HttpFileServer: HTTP File server directory is /tmp/spark-5821f748-ecf7-4e24-a593-ff2c2b040b43/httpd-90a05ad6-f73b-4a52-9a61-0ff135f449a9
15/04/01 11:53:23 INFO HttpServer: Starting HTTP Server
15/04/01 11:53:23 INFO Server: jetty-8.y.z-SNAPSHOT
15/04/01 11:53:23 INFO AbstractConnector: Started SocketConnector@0.0.0.0:43969
15/04/01 11:53:23 INFO Utils: Successfully started service 'HTTP file server' on port 43969.
15/04/01 11:53:23 INFO SparkEnv: Registering OutputCommitCoordinator
15/04/01 11:53:23 INFO Server: jetty-8.y.z-SNAPSHOT
15/04/01 11:53:23 INFO AbstractConnector: Started SelectChannelConnector@0.0.0.0:4040
15/04/01 11:53:23 INFO Utils: Successfully started service 'SparkUI' on port 4040.
15/04/01 11:53:23 INFO SparkUI: Started SparkUI at http://spark-test.novalocal:4040
15/04/01 11:53:23 INFO SparkContext: Added JAR file:/data/spark-1.3.0-bin-hadoop2.4/lib/spark-examples-1.3.0-hadoop2.4.0.jar at http://10.10.10.26:43969/jars/spark-examples-1.3.0-hadoop2.4.0.jar with timestamp 1427860403997
15/04/01 11:53:24 INFO Executor: Starting executor ID <driver> on host localhost
15/04/01 11:53:24 INFO AkkaUtils: Connecting to HeartbeatReceiver: akka.tcp://sparkDriver@spark-test.novalocal:55722/user/HeartbeatReceiver
15/04/01 11:53:24 INFO NettyBlockTransferService: Server created on 39015
15/04/01 11:53:24 INFO BlockManagerMaster: Trying to register BlockManager
15/04/01 11:53:24 INFO BlockManagerMasterActor: Registering block manager localhost:39015 with 265.0 MB RAM, BlockManagerId(<driver>, localhost, 39015)
15/04/01 11:53:24 INFO BlockManagerMaster: Registered BlockManager
15/04/01 11:53:24 INFO SparkContext: Starting job: reduce at SparkPi.scala:35
15/04/01 11:53:24 INFO DAGScheduler: Got job 0 (reduce at SparkPi.scala:35) with 2 output partitions (allowLocal=false)
15/04/01 11:53:24 INFO DAGScheduler: Final stage: Stage 0(reduce at SparkPi.scala:35)
15/04/01 11:53:24 INFO DAGScheduler: Parents of final stage: List()
15/04/01 11:53:24 INFO DAGScheduler: Missing parents: List()
15/04/01 11:53:24 INFO DAGScheduler: Submitting Stage 0 (MapPartitionsRDD[1] at map at SparkPi.scala:31), which has no missing parents
15/04/01 11:53:24 INFO MemoryStore: ensureFreeSpace(1848) called with curMem=0, maxMem=277842493
15/04/01 11:53:24 INFO MemoryStore: Block broadcast_0 stored as values in memory (estimated size 1848.0 B, free 265.0 MB)
15/04/01 11:53:24 INFO MemoryStore: ensureFreeSpace(1296) called with curMem=1848, maxMem=277842493
15/04/01 11:53:24 INFO MemoryStore: Block broadcast_0_piece0 stored as bytes in memory (estimated size 1296.0 B, free 265.0 MB)
15/04/01 11:53:24 INFO BlockManagerInfo: Added broadcast_0_piece0 in memory on localhost:39015 (size: 1296.0 B, free: 265.0 MB)
15/04/01 11:53:24 INFO BlockManagerMaster: Updated info of block broadcast_0_piece0
15/04/01 11:53:24 INFO SparkContext: Created broadcast 0 from broadcast at DAGScheduler.scala:839
15/04/01 11:53:24 INFO DAGScheduler: Submitting 2 missing tasks from Stage 0 (MapPartitionsRDD[1] at map at SparkPi.scala:31)
15/04/01 11:53:24 INFO TaskSchedulerImpl: Adding task set 0.0 with 2 tasks
15/04/01 11:53:24 INFO TaskSetManager: Starting task 0.0 in stage 0.0 (TID 0, localhost, PROCESS_LOCAL, 1336 bytes)
15/04/01 11:53:24 INFO TaskSetManager: Starting task 1.0 in stage 0.0 (TID 1, localhost, PROCESS_LOCAL, 1336 bytes)
15/04/01 11:53:24 INFO Executor: Running task 0.0 in stage 0.0 (TID 0)
15/04/01 11:53:24 INFO Executor: Running task 1.0 in stage 0.0 (TID 1)
15/04/01 11:53:24 INFO Executor: Fetching http://10.10.10.26:43969/jars/spark-examples-1.3.0-hadoop2.4.0.jar with timestamp 1427860403997
15/04/01 11:53:24 INFO Utils: Fetching http://10.10.10.26:43969/jars/spark-examples-1.3.0-hadoop2.4.0.jar to /tmp/spark-7cb47603-adb9-45ea-ad91-e5ddc3c6da41/userFiles-86c97d54-c082-4bb8-bcb3-34b97a432674/fetchFileTemp3928503400699723858.tmp
15/04/01 11:53:25 INFO Executor: Adding file:/tmp/spark-7cb47603-adb9-45ea-ad91-e5ddc3c6da41/userFiles-86c97d54-c082-4bb8-bcb3-34b97a432674/spark-examples-1.3.0-hadoop2.4.0.jar to class loader
15/04/01 11:53:25 INFO Executor: Finished task 0.0 in stage 0.0 (TID 0). 736 bytes result sent to driver
15/04/01 11:53:25 INFO Executor: Finished task 1.0 in stage 0.0 (TID 1). 736 bytes result sent to driver
15/04/01 11:53:25 INFO TaskSetManager: Finished task 0.0 in stage 0.0 (TID 0) in 1068 ms on localhost (1/2)
15/04/01 11:53:25 INFO TaskSetManager: Finished task 1.0 in stage 0.0 (TID 1) in 1028 ms on localhost (2/2)
15/04/01 11:53:25 INFO TaskSchedulerImpl: Removed TaskSet 0.0, whose tasks have all completed, from pool
15/04/01 11:53:25 INFO DAGScheduler: Stage 0 (reduce at SparkPi.scala:35) finished in 1.107 s
15/04/01 11:53:25 INFO DAGScheduler: Job 0 finished: reduce at SparkPi.scala:35, took 1.326417 s
Pi is roughly 3.13518
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/metrics/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/stage/kill,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/static,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/executors/threadDump/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/executors/threadDump,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/executors/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/executors,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/environment/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/environment,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/storage/rdd/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/storage/rdd,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/storage/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/storage,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/pool/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/pool,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/stage/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/stage,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/stages,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/jobs/job/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/jobs/job,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/jobs/json,null}
15/04/01 11:53:25 INFO ContextHandler: stopped o.s.j.s.ServletContextHandler{/jobs,null}
15/04/01 11:53:25 INFO SparkUI: Stopped Spark web UI at http://spark-test.novalocal:4040
15/04/01 11:53:25 INFO DAGScheduler: Stopping DAGScheduler
15/04/01 11:53:25 INFO MapOutputTrackerMasterActor: MapOutputTrackerActor stopped!
15/04/01 11:53:25 INFO MemoryStore: MemoryStore cleared
15/04/01 11:53:25 INFO BlockManager: BlockManager stopped
15/04/01 11:53:25 INFO BlockManagerMaster: BlockManagerMaster stopped
15/04/01 11:53:25 INFO OutputCommitCoordinator$OutputCommitCoordinatorActor: OutputCommitCoordinator stopped!
15/04/01 11:53:25 INFO SparkContext: Successfully stopped SparkContext
15/04/01 11:53:25 INFO RemoteActorRefProvider$RemotingTerminator: Shutting down remote daemon.
15/04/01 11:53:25 INFO RemoteActorRefProvider$RemotingTerminator: Remote daemon shut down; proceeding with flushing remote transports.
15/04/01 11:53:25 INFO RemoteActorRefProvider$RemotingTerminator: Remoting shut down.

Spark 1.3.0 单机安装的更多相关文章

  1. spark 1.1.0 单机与yarn部署

    环境:ubuntu 14.04, jdk 1.6, scala 2.11.4, spark 1.1.0, hadoop 2.5.1 一 spark 单机模式 部分操作参考:http://www.cnb ...

  2. spark之 spark 2.2.0 Standalone安装、wordCount演示

    说明:前提安装好hadoop集群,可参考 http://blog.csdn.net/zhang123456456/article/details/77621487 一. scala 安装 1.下载 s ...

  3. hadoop2.0单机安装

    hadoop发行的版本:apache hadoop;HDP;CDH -----这里只使用apache hadoop---可以在网站hadoop.apache.org网站上找到 hadoop安装方式:自 ...

  4. hadoop2.1.0编译安装教程

    由于现在hadoop2.0还处于beta版本,在apache官方网站上发布的beta版本中只有编译好的32bit可用,如果你直接下载安装在64bit的linux系统的机器上,运行会报一个INFO ut ...

  5. hadoop2.1.0和hadoop2.2.0编译安装教程

    由于现在hadoop2.0还处于beta版本,在apache官方网站上发布的beta版本中只有编译好的32bit可用,如果你直接下载安装在64bit的linux系统的机器上,运行会报一个INFO ut ...

  6. 一、spark单机安装

    如果要全面的使用spark,你可能要安装如JDK,scala,hadoop等好些东西.可有时候我们只是为了简单地安装和测试来感受一下spark的使用,并不需要那么全面.对于这样的需要,我们其实只要安装 ...

  7. Spark SQL慕课网日志分析(1)--系列软件(单机)安装配置使用

    来源: 慕课网 Spark SQL慕课网日志分析_大数据实战 目标: spark系列软件的伪分布式的安装.配置.编译 spark的使用 系统: mac 10.13.3 /ubuntu 16.06,两个 ...

  8. Spark on YARN模式的安装(spark-1.6.1-bin-hadoop2.6.tgz + hadoop-2.6.0.tar.gz)(master、slave1和slave2)(博主推荐)

    说白了 Spark on YARN模式的安装,它是非常的简单,只需要下载编译好Spark安装包,在一台带有Hadoop YARN客户端的的机器上运行即可.  Spark on YARN简介与运行wor ...

  9. spark编译安装 spark 2.1.0 hadoop2.6.0-cdh5.7.0

    1.准备: centos 6.5 jdk 1.7 Java SE安装包下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java ...

随机推荐

  1. Android+Eclipse+Java:在“正在启动 CrazySnake”期间发生了内部错误, java.lang.NullPointerException

    删除工作空间下的.metadata 文件夹 重启 Eclipse 清理工作空间

  2. 【C#学习笔记】类型转换

    using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { " ...

  3. (4) Spring中定时任务Quartz集群配置学习

    原 来配置的Quartz是通过spring配置文件生效的,发现在非集群式的服务器上运行良好,但是将工程部署到水平集群服务器上去后改定时功能不能正常运 行,没有任何错误日志,于是从jar包.JDK版本. ...

  4. 关于DatePicker控件在IsEnabled为False视觉效果没有明显辨识度的处理方法

    DatePicker控件在IsEnabled为False时界面没有让人看上去不可用(背景为灰色等)的效果.容易让用户迷惑. 可以用下面的代码增加设置透明度的触发器来解决(XAML以及C#方式): &l ...

  5. Launcher2编译

    Android的源码包,压缩文件大概有3个G左右,要使用其中自带的一些源码需要很多技巧,否则会提示找不到一些库,大量的报错让人心神不定,不知所从. 我拿桌面代码举个例子吧. 桌面代码在源码包的pack ...

  6. 关于【bootstrap】中,【tooltip】的不算bug的bug的个人看法

    先说下遇到这个问题的背景吧. 就是在页面中有个div,这个div右上角(或者其他位置)有个 × 的图标(这个图标添加tooltip工具提示),光标移到这个图标时,触发tooltip,提示“点击移除”这 ...

  7. Dubbo服务重载方法在JDK1.8上调用出错的问题(待解决)

    据说是javassist版本太低不支持JDK1.8,但是测试升级了还是调用出错.预留,待解决.

  8. offsetWidth、offsetleft 等图文详解

    网页可见区域宽: document.body.clientWidth;网页可见区域高: document.body.clientHeight;网页可见区域宽: document.body.offset ...

  9. ASP.net MVC基础

    简单了解了下MVC的基本开发步骤后,又对MVC的语法和模版详细看看了,小小总结下 对mvc开发,首先是要对布局有个基本的认识.Razor引擎使页面元素更加清晰 简单认识下 可以加载css和js等文件, ...

  10. Polymer——Web Components的未来

    什么是polymer? polymer由谷歌的Palm webOS团队打造,并在2013 Google I/O大会上推出,旨在实现Web Components,用最少的代码,解除框架间的限制的UI 框 ...