一、准备工作: 1、下载release版spark
0.9.1,本次用的版本是spark-0.9.1-bin-cdh4。 2、下载scala IDE 3.0.2,这个版本ide的支持scala 2.10版。
二、配置工作 1、在ide中新建scala项目,注意jre要用jdk1.7版的。如下图: 2...
分类:
系统相关 时间:
2014-05-09 03:27:34
阅读次数:
512
数据库中的数字和编程语言中的数字有显著的不同,数据库中的数字可以为空,C#中的数字不能为空。int? x = null;
//此时x可以为空测试类(NullableTest)using System;using System.Collections.Generic;using
System.Linq...
分类:
其他好文 时间:
2014-05-09 03:20:29
阅读次数:
303
http://rubyer.me/blog/1682/遇到的问题:1、reason given by
server: Permission
denied在服务器的/etc/export配置文件中加上”no_root_squas”。因为默认为”root-squas”,即默认客户端的root会被映射成匿...
分类:
系统相关 时间:
2014-05-09 03:12:23
阅读次数:
306
1. ConfigurationManager的命名空间:using
System.Configuration;2.To be able to save you have to use a configuration object
returned by the OpenExeConfigurati...
分类:
移动开发 时间:
2014-05-09 03:03:07
阅读次数:
596
1.创建工程文件-> 新建->网站 如下图。工程建好后,会自动添加如下代码: 1
using System; 2 using System.Linq; 3 using System.Web; 4 using
System.Web.Services; 5 using System.Web.Servic...
分类:
Web程序 时间:
2014-05-09 02:59:12
阅读次数:
608
一次异常关机后,eclipse怎么都启动不了,开启任务管理器发现eclipse一直是未响应的状态找了很久,发现是设置的workspace目录出现了什么问题。最终解决方法:进入workspace/.metadata/.plugins/目录重命名或删除org.eclipse.core.resources...
分类:
系统相关 时间:
2014-05-09 02:53:27
阅读次数:
417
http://hi.baidu.com/libaohuimsn/item/aa2d171bb732214f3a176e29以前以为这个东西没用,常常把它给删除了。以为只是eclispe生成的告诉你这里要替换成代码的。今天知道了,这个算是一个标注。比如你现在不想做,想过会做,但是又怕忘了这事或忘记在哪...
分类:
系统相关 时间:
2014-05-09 02:47:51
阅读次数:
467
实际操作环境为:Eclipse+Pydev中使用Jython链接Oracle数据库。方法有二,如下所示。(注意:将要使用的.jar文件路径加入系统变量classpath中)一:Note:使用ojdbc.jar库from
oracle.jdbc.driver import OracleDriverfr...
分类:
数据库 时间:
2014-05-09 00:20:23
阅读次数:
348
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe
C:\_PRODUKCIJA\Debug\DynamicHtmlTool.exeMicrosoft(R).NET FrameworkInstallation
utility...
分类:
其他好文 时间:
2014-05-08 23:53:56
阅读次数:
518
//
获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//
获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//
获取和设置当前目录(该进...
分类:
移动开发 时间:
2014-05-08 23:49:48
阅读次数:
364