软件环境:操作系统:CentOS6.5 ,ambari:1.4.4.23,HDP:2.1.0;问题:在图中的圆圈的地方出现如题的提示。解决方法:disable IPV6。示例:针对CentOS6.5的操作系统,禁用IPV6:禁用前:方式:修改文件:/etc/sysctl.conf在文件后添加:重启sysctl: sysctl -p ; (root用户)再次查看ip:发现ipv6没有了,同时...
分类:
数据库 时间:
2015-04-27 13:16:29
阅读次数:
290
C#的提交表单方式主要有两种WebClient与HttpWebRequest,这里先介绍一种WebClient,转送门:http://msdn.microsoft.com/zh-cn/library/system.net.webclient(v=VS.80).aspx[csharp]view pla...
Intuitive coding problem. But several details to take care.#include #include #include #include #include #include #include using namespace std;bool pla...
分类:
其他好文 时间:
2015-04-20 08:10:06
阅读次数:
128
前言,還是那句話,按照濤叔下面畫黃色的步驟順序執行就好了使用CocoaPods兩種方式:使用之前安裝的插件&命令行。一、利用插件1、創建項目后添加CocoaPods2、在文本框中輸入如下插件名稱。pod 'SDWebImage'說明:添加多個插件,只需要換行添加 pod 'xxx'//適配版本pla...
分类:
系统相关 时间:
2015-04-18 06:23:14
阅读次数:
262
http://gashero.iteye.com/blog/2075324// Playground - noun: a place where people can play//haha 没有分好,编译器推断类型,好玩,空格严格限制import UIKitvar str = "Hello, pla...
分类:
编程语言 时间:
2015-04-15 18:59:22
阅读次数:
146
之前上了台大的机器学习基石课程,里面用的教材是《Learning from data》,最近看了看觉得不错,打算深入看下去,内容上和台大的课程差不太多,但是有些点讲的更深入,想了解课程里面讲什么的童鞋可以看我之前关于课程的第一章总结列表:机器学习定义及PLA算法机器学习的分类机器学习的可能性 我打....
分类:
其他好文 时间:
2015-04-12 20:41:49
阅读次数:
216
本文来自:http://blog.csdn.net/xuejianwu/article/details/6931804一、投影操作符1. SelectSelect操作符对单个序列或集合中的值进行投影。下面的示例中使用select从序列中返回Employee表的所有列:[csharp]view pla...
分类:
其他好文 时间:
2015-04-07 19:27:43
阅读次数:
164
题目:
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in pla...
分类:
其他好文 时间:
2015-04-05 22:01:48
阅读次数:
178
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:
编程语言 时间:
2015-03-28 20:22:57
阅读次数:
132