[转]hadoop运行mapreduce作业无法连接0.0.0.0/0.0.0.0:10020
14/04/04 17:15:12 INFO mapreduce.Job: map 0% reduce 0%
14/04/04 17:19:42 INFO mapreduce.Job: map 41% reduce 0%
14/04/04 17:19:53 INFO mapreduce.Job: map 64% reduce 0%
14/04/04 17:19:55 INFO mapreduce.Job: map 52% reduce 0%
14/04/04 17:19:57 INFO mapreduce.Job: map 25% reduce 0%
14/04/04 17:20:00 INFO mapreduce.Job: map 36% reduce 0%
14/04/04 17:20:00 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000011_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000012_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000014_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000015_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000008_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000005_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000004_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000007_0, Status : FAILED
14/04/04 17:20:05 INFO mapreduce.Job: Task Id : attempt_1396530865591_0003_m_000006_0, Status : FAILED
14/04/04 17:20:06 INFO mapreduce.Job: map 47% reduce 0%
14/04/04 17:20:16 INFO mapreduce.Job: map 48% reduce 0%
14/04/04 17:20:46 INFO mapreduce.Job: map 50% reduce 0%
14/04/04 17:20:47 INFO mapreduce.Job: map 52% reduce 0%
14/04/04 17:20:49 INFO mapreduce.Job: map 53% reduce 0%
14/04/04 17:21:21 INFO mapreduce.Job: map 55% reduce 0%
14/04/04 17:21:25 INFO mapreduce.Job: map 56% reduce 0%
14/04/04 17:21:26 INFO mapreduce.Job: map 59% reduce 0%
14/04/04 17:26:20 INFO mapreduce.Job: map 62% reduce 0%
14/04/04 17:26:32 INFO mapreduce.Job: map 67% reduce 0%
14/04/04 17:26:44 INFO mapreduce.Job: map 68% reduce 0%
14/04/04 17:27:10 INFO mapreduce.Job: map 70% reduce 0%
14/04/04 17:27:30 INFO mapreduce.Job: map 71% reduce 0%
14/04/04 17:27:52 INFO mapreduce.Job: map 74% reduce 2%
14/04/04 17:27:57 INFO mapreduce.Job: map 75% reduce 2%
14/04/04 17:27:59 INFO mapreduce.Job: map 79% reduce 2%
14/04/04 17:28:01 INFO mapreduce.Job: map 80% reduce 2%
14/04/04 17:28:02 INFO mapreduce.Job: map 81% reduce 2%
14/04/04 17:28:05 INFO mapreduce.Job: map 83% reduce 2%
14/04/04 17:28:17 INFO mapreduce.Job: map 84% reduce 2%
14/04/04 17:28:26 INFO mapreduce.Job: map 84% reduce 3%
14/04/04 17:28:29 INFO mapreduce.Job: map 85% reduce 3%
14/04/04 17:28:38 INFO mapreduce.Job: map 85% reduce 5%
14/04/04 17:28:52 INFO mapreduce.Job: map 86% reduce 5%
14/04/04 17:29:00 INFO mapreduce.Job: map 88% reduce 5%
14/04/04 17:29:12 INFO mapreduce.Job: map 89% reduce 5%
14/04/04 17:29:22 INFO mapreduce.Job: map 90% reduce 5%
14/04/04 17:29:29 INFO mapreduce.Job: map 91% reduce 5%
14/04/04 17:29:37 INFO mapreduce.Job: map 92% reduce 5%
14/04/04 17:29:45 INFO mapreduce.Job: map 93% reduce 5%
14/04/04 17:29:56 INFO mapreduce.Job: map 94% reduce 6%
14/04/04 17:30:00 INFO mapreduce.Job: map 95% reduce 6%
14/04/04 17:30:01 INFO mapreduce.Job: map 95% reduce 8%
14/04/04 17:30:10 INFO mapreduce.Job: map 97% reduce 8%
14/04/04 17:30:16 INFO mapreduce.Job: map 97% reduce 11%
14/04/04 17:30:23 INFO mapreduce.Job: map 98% reduce 11%
14/04/04 17:30:37 INFO mapreduce.Job: map 98% reduce 12%
14/04/04 17:30:55 INFO mapreduce.Job: map 98% reduce 17%
14/04/04 17:30:58 INFO mapreduce.Job: map 98% reduce 20%
14/04/04 17:31:04 INFO mapreduce.Job: map 98% reduce 21%
14/04/04 17:31:07 INFO mapreduce.Job: map 98% reduce 26%
14/04/04 17:31:10 INFO mapreduce.Job: map 98% reduce 32%
14/04/04 17:31:13 INFO mapreduce.Job: map 100% reduce 32%
14/04/04 17:31:19 INFO mapreduce.Job: map 100% reduce 38%
14/04/04 17:31:22 INFO mapreduce.Job: map 100% reduce 49%
14/04/04 17:31:25 INFO mapreduce.Job: map 100% reduce 67%
14/04/04 17:31:31 INFO mapreduce.Job: map 100% reduce 68%
14/04/04 17:31:34 INFO mapreduce.Job: map 100% reduce 70%
14/04/04 17:31:37 INFO mapreduce.Job: map 100% reduce 71%
14/04/04 17:31:40 INFO mapreduce.Job: map 100% reduce 73%
14/04/04 17:31:44 INFO mapreduce.Job: map 100% reduce 75%
14/04/04 17:31:47 INFO mapreduce.Job: map 100% reduce 77%
14/04/04 17:31:50 INFO mapreduce.Job: map 100% reduce 78%
14/04/04 17:31:53 INFO mapreduce.Job: map 100% reduce 80%
14/04/04 17:31:56 INFO mapreduce.Job: map 100% reduce 82%
14/04/04 17:31:58 INFO mapreduce.Job: map 100% reduce 84%
14/04/04 17:32:01 INFO mapreduce.Job: map 100% reduce 85%
14/04/04 17:32:04 INFO mapreduce.Job: map 100% reduce 87%
14/04/04 17:32:07 INFO mapreduce.Job: map 100% reduce 89%
14/04/04 17:32:10 INFO mapreduce.Job: map 100% reduce 91%
14/04/04 17:32:13 INFO mapreduce.Job: map 100% reduce 93%
14/04/04 17:32:16 INFO mapreduce.Job: map 100% reduce 95%
14/04/04 17:32:19 INFO mapreduce.Job: map 100% reduce 96%
14/04/04 17:32:22 INFO mapreduce.Job: map 100% reduce 98%
14/04/04 17:32:25 INFO mapreduce.Job: map 100% reduce 100%
14/04/04 17:32:34 INFO mapred.ClientServiceDelegate: Application state is completed. FinalApplicationStatus=SUCCEEDED. Redirecting to job history server
14/04/04 17:32:35 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:36 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:37 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:38 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:39 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:40 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:41 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:42 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:43 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:44 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:44 INFO mapred.ClientServiceDelegate: Application state is completed. FinalApplicationStatus=SUCCEEDED. Redirecting to job history server
14/04/04 17:32:45 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:46 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:47 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:48 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:49 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:50 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:51 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:52 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:53 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:54 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:54 INFO mapred.ClientServiceDelegate: Application state is completed. FinalApplicationStatus=SUCCEEDED. Redirecting to job history server
14/04/04 17:32:55 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:56 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:57 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:58 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:32:59 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:33:00 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:33:01 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:33:02 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:33:03 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04/04 17:33:04 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/04 /04 17:33:05 ERROR security.UserGroupInformation: PriviledgedActionException as:hadoop (auth:SIMPLE) cause:java.io.IOException: java.net.ConnectException: Call From sjfx /192.168.52.170 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: 拒 绝连接; For more details see: http://wiki.apache.org/hadoop /ConnectionRefused
Exception in thread "main" java.io.IOException: java.net.ConnectException: Call From sjfx/192.168.52.170 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: 拒 绝连接; For more details see: http://wiki.apache.org/hadoop /ConnectionRefused
at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:331)
at org.apache.hadoop.mapred.ClientServiceDelegate.getTaskCompletionEvents(ClientServiceDelegate.java:383)
at org.apache.hadoop.mapred.YARNRunner.getTaskCompletionEvents(YARNRunner.java:529)
at org.apache.hadoop.mapreduce.Job$5.run(Job.java:668)
at org.apache.hadoop.mapreduce.Job$5.run(Job.java:665)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
at org.apache.hadoop.mapreduce.Job.getTaskCompletionEvents(Job.java:665)
at org.apache.hadoop.mapreduce.Job.monitorAndPrintJob(Job.java:1349)
at org.apache.hadoop.mapred.JobClient$NetworkedJob.monitorAndPrintJob(JobClient.java:407)
at org.apache.hadoop.mapred.JobClient.monitorAndPrintJob(JobClient.java:855)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:835)
at com.fiveone.game.GameLoginLog.main(GameLoginLog.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
Caused by: java.net.ConnectException: Call From sjfx/192.168.52.170 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: 拒 绝连接; For more details see: http://wiki.apache.org/hadoop /ConnectionRefused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)
at org.apache.hadoop.ipc.Client.call(Client.java:1351)
at org.apache.hadoop.ipc.Client.call(Client.java:1300)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
at com.sun.proxy.$Proxy12.getTaskAttemptCompletionEvents(Unknown Source)
at org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl.getTaskAttemptCompletionEvents(MRClientProtocolPBClientImpl.java:177)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:317)
... 18 more
Caused by: java.net.ConnectException: 拒绝连接
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:547)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:642)
at org.apache.hadoop.ipc.Client$Connection.access$2600(Client.java:314)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1399)
at org.apache.hadoop.ipc.Client.call(Client.java:1318)
... 26 more
[转]hadoop运行mapreduce作业无法连接0.0.0.0/0.0.0.0:10020的更多相关文章
- 使用IDEA远程向伪分布式搭建的Hadoop提交MapReduce作业
环境 VirtualBox 6.1 IntelliJ IDEA 2020.1.1 Ubuntu-18.04.4-live-server-amd64 jdk-8u251-linux-x64 hadoop ...
- 在window下远程虚拟机(centos)hadoop运行mapreduce程序
(注:虽然连接成功但是还是执行不了.以后有时间再解决吧 看到的人别参考仅作个人笔记)先mark下 1.首先在window下载好一个eclipse.和拷贝好linux里面hadoop版本对应的插件(我是 ...
- Hadoop中MapReduce作业流程图
MapReduce的流程分为11个步骤,4个实体 1.客户端:编写MapReduce的代码,配置作业,提交作业 2.JobTracker:初始化作业,分配作业,与TaskTracker通信,协调整个作 ...
- 剖析MapReduce 作业运行机制
包含四个独立的实体: · Client Node 客户端:编写 MapReduce代码,配置作业,提交MapReduce作业. · JobTracker :初始化作业,分配作业,与 TaskTra ...
- 经典MapReduce作业和Yarn上MapReduce作业运行机制
一.经典MapReduce的作业运行机制 如下图是经典MapReduce作业的工作原理: 1.1 经典MapReduce作业的实体 经典MapReduce作业运行过程包含的实体: 客户端,提交MapR ...
- YARN(MapReduce 2)运行MapReduce的过程-源码分析
这是我的分析,当然查阅书籍和网络.如有什么不对的,请各位批评指正.以下的类有的并不完全,只列出重要的方法. 如要转载,请注上作者以及出处. 一.源码阅读环境 需要安装jdk1.7.0版本及其以上版本, ...
- Hadoop基础-MapReduce的工作原理第一弹
Hadoop基础-MapReduce的工作原理第一弹 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 在本篇博客中,我们将深入学习Hadoop中的MapReduce工作机制,这些知识 ...
- hadoop之mapreduce详解(进阶篇)
上篇文章hadoop之mapreduce详解(基础篇)我们了解了mapreduce的执行过程和shuffle过程,本篇文章主要从mapreduce的组件和输入输出方面进行阐述. 一.mapreduce ...
- MapReduce作业的工作原理
在Hadoop中,我们可以通过Job对象的submit()方法来运行MapReduce作业,也可以调用waitForCompletion()用于提交以前没有提交过的作业,并等待它的完成.其中,subm ...
随机推荐
- [原创]java WEB学习笔记02:javaWeb开发的目录结构
本博客为原创:综合 尚硅谷(http://www.atguigu.com)的系统教程(深表感谢)和 网络上的现有资源(博客,文档,图书等),资源的出处我会标明 本博客的目的:①总结自己的学习过程,相当 ...
- debian下使用ft232为stm32f429i-discovery烧写uboot和uImage
操作系统:debian 软件: openocd minicom 硬件: MiniUSB线.stm32f429i-discovery, WaveShare FT232串口模块(可以在淘宝上买到) 关 ...
- 大话设计模式--外观模式 Facade -- C++实现实例
1. 外观模式: 为子系统中的一组接口提供一个一致的界面,此模式定义了一个高层接口,这个接口使得这个子系统更加容易使用. 外观模式的使用场合: A: 设计初期阶段,应该要有意识的将不同的两个层分离. ...
- Win7.窗口自动滚动回到屏幕
PS:笔记本 ThinkPad E440 1.前提:窗口 的一部分位于在屏幕的外面,此窗口处于激活的状态 操作:鼠标放置在窗口内部,鼠标继续往屏幕外部移动,鼠标没有任何其他事件(只有 MouseMov ...
- Spark-Spark setMaster & WordCount Demo
Spark setMaster源码 /** * The master URL to connect to, such as "local" to run locally with ...
- NTFS文件系统的主要优点体现在以下三个方面
1.NFTS格式具有用户权限的控制管理功能 2.NTFS有更好的压缩率 3.NTFS具有日志功能,可以提高系统安全性
- DIV+CSS IE6/IE7/IE8/FF兼容问题大全
1. [代码][CSS]代码 1, FF下给 div 设置 padding 后会导致 width 和 height 增加, 但IE不会.(可用!important解决) 2, 居中问题. 1).垂直居 ...
- 分享知识-快乐自己:Shrio 权限标签
一.验证当前用户是否为"访客",即未认证(包含未记住)的用户 <shiro:guest> Hi there! Please <a href="login ...
- PHP 写入缓存
1.创建file.PHP <?php class File{ //封装方法 private $_dir; const EXT='.text';//文件后缀,定义为常量 public functi ...
- 【BZOJ 3238】差异 后缀自动机+树形DP
题意 给定字符串,令$s_i$表示第$i$位开始的后缀,求$\sum_{1\le i < j \le n} len(s_i)+len(s_j)-2\times lcp(s_i,s_j)$ 先考虑 ...