摘要:
Requested option conflicts with current storage engine option for directoryPerDB; you requested true but the current server storage is already set to
阅读全文
posted @ 2017-11-23 11:48
papering
阅读(679)
推荐(0)
摘要:
https://docs.mongodb.com/manual/reference/configuration-options/index.html
阅读全文
posted @ 2017-11-23 10:30
papering
阅读(406)
推荐(0)
摘要:
https://clickhouse.yandex/docs/en/introduction/what_is_clickhouse.html
阅读全文
posted @ 2017-11-22 23:02
papering
阅读(200)
推荐(0)
摘要:
不存在前驱关系的程序之间才有可能并发执行。 1、间断性 程序并发执行时,由于它们共享系统资源,以及为完成同一项任务而相互合作,致使在这些并发执行的程序之间形成了互相制约的关系:并发程序具有“执行--暂停--执行”的间断性的活动规律。 2、失去封闭性 当系统中存在着多个可以并发执行的程序时,系统中的各
阅读全文
posted @ 2017-11-22 22:56
papering
阅读(10532)
推荐(0)
摘要:
切换用户; use admin db.auth("myClusterwideAdmin_user","admin123"); 建库,写入数据; use products; db.products.insertOne( { _id: 10, item: "box", qty: 20 } ); db.auth("products_admin","admin123"); db.products.s...
阅读全文
posted @ 2017-11-22 20:11
papering
阅读(282)
推荐(0)
摘要:
jupyter notebook
阅读全文
posted @ 2017-11-22 19:05
papering
阅读(170)
推荐(0)
摘要:
小结: 1) 认证(Authentication)401 授权(Authorization)403 验证和授权是两件事情: 验证(Authentication)是为了确定用户是其申明的身份,比如提供账户的密码。不然的话,任何人伪造成其他身份(比如其他用户或者管理员)是非常危险的 授权(Authori
阅读全文
posted @ 2017-11-22 16:22
papering
阅读(1370)
推荐(0)
摘要:
mongo是一种数据库; 而一种数据库,当然有权限控制; 而权限控制肯定是在读写数据之前就存在的!
阅读全文
posted @ 2017-11-22 10:39
papering
阅读(230)
推荐(0)
摘要:
https://docs.mongodb.com/manual/reference/method/Mongo.setReadPref/#Mongo.setReadPref Mongo.setReadPref(mode, tagSet) Call the setReadPref() method on
阅读全文
posted @ 2017-11-22 10:29
papering
阅读(345)
推荐(0)
摘要:
add time to file name echo 123 > $(date +"%Y%m%d_%H%M%S").now;
阅读全文
posted @ 2017-11-22 07:51
papering
阅读(213)
推荐(0)
摘要:
“MongoDB wasn’t designed in a lab. We built MongoDB from our own experiences building large-scale, high availability, robust systems. We didn’t start
阅读全文
posted @ 2017-11-21 22:29
papering
阅读(215)
推荐(0)
摘要:
【客户的写请求全部发送至主节点】 Primary. The primary receives all write operations. Secondaries. Secondaries replicate operations from the primary to maintain an ide
阅读全文
posted @ 2017-11-21 18:01
papering
阅读(394)
推荐(0)
摘要:
https://docs.mongodb.com/manual/tutorial/enable-authentication/ Overview Enabling access control on a MongoDB deployment enforces authentication, requ
阅读全文
posted @ 2017-11-21 17:03
papering
阅读(329)
推荐(0)
摘要:
ermissions on /usr/local/mongodb/conf/keyFile are too open
阅读全文
posted @ 2017-11-21 12:29
papering
阅读(355)
推荐(0)
摘要:
https://docs.mongodb.com/manual/reference/glossary/#term-master mongoThe MongoDB shell. The mongo process starts the MongoDB shell as a daemon connect
阅读全文
posted @ 2017-11-21 10:10
papering
阅读(2256)
推荐(0)
posted @ 2017-11-21 09:33
papering
阅读(282)
推荐(0)
摘要:
HDFS命令基本格式:Hadoop fs -cmd < args > HDFS命令基本格式:Hadoop fs -cmd < args > ls 命令 hadoop fs -ls / 列出hdfs文件系统根目录下的目录和文件 hadoop fs -ls -R / 列出hdfs文件系统所有的目录和文件
阅读全文
posted @ 2017-11-21 08:12
papering
阅读(263)
推荐(0)
摘要:
【手动验证:任意2个节点间是否实现 双向 ssh免密登录】 弄懂通信原理和集群的容错性 任意2个节点间实现双向 ssh免密登录,默认在~目录下 【实现上步后,在其中任一节点安装\配置hadoop后,可以将整个安装目录scp复制到各个节点::::各个节点的文件内容是一样的!!!!】 3节点 spark
阅读全文
posted @ 2017-11-21 00:11
papering
阅读(2511)
推荐(0)
摘要:
https://github.com/apache/spark/tree/master/core/src/main/scala/org/apache/spark/network https://github.com/apache/spark/blob/master/core/src/main/sca
阅读全文
posted @ 2017-11-20 19:39
papering
阅读(479)
推荐(0)
摘要:
http://hadoop.apache.org/docs/r1.0.4/cn/hdfs_design.html 通讯协议 所有的HDFS通讯协议都是建立在TCP/IP协议之上。客户端通过一个可配置的TCP端口连接到Namenode,通过ClientProtocol协议与Namenode交互。而Da
阅读全文
posted @ 2017-11-20 18:55
papering
阅读(2688)
推荐(0)
摘要:
HDFS被设计成能够在一个大集群中跨机器可靠地存储超大文件。它将每个文件存储成一系列的数据块,除了最后一个,所有的数据块都是同样大小的。为了容错,文件的所有数据块都会有副本。每个文件的数据块大小和副本系数都是可配置的。应用程序可以指定某个文件的副本数目。副本系数可以在文件创建的时候指定,也可以在之后
阅读全文
posted @ 2017-11-20 18:52
papering
阅读(467)
推荐(0)
posted @ 2017-11-20 18:15
papering
阅读(210)
推荐(0)
摘要:
https://github.com/mongodb/mongo-hadoop https://github.com/mongodb/mongo-hadoop/wiki/Spark-Usage
阅读全文
posted @ 2017-11-20 17:22
papering
阅读(203)
推荐(0)
摘要:
Apache Spark is built around a distributed collection of immutable Java Virtual Machine (JVM) objects called Resilient Distributed Datasets (RDDs for
阅读全文
posted @ 2017-11-20 17:12
papering
阅读(290)
推荐(0)
摘要:
https://github.com/google/protobuf/
阅读全文
posted @ 2017-11-20 13:46
papering
阅读(446)
推荐(0)
摘要:
cat /proc/versionLinux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Th
阅读全文
posted @ 2017-11-20 12:49
papering
阅读(927)
推荐(0)
摘要:
Java Virtual Machine Process Status Tool
阅读全文
posted @ 2017-11-20 11:28
papering
阅读(209)
推荐(0)
摘要:
If the port is "0", then the OS is looking for any free port -so the port-in-use and port-below-1024 problems are highly unlikely to be the cause of t
阅读全文
posted @ 2017-11-20 02:01
papering
阅读(1727)
推荐(0)
摘要:
https://www.ibm.com/developerworks/library/bd-yarn-intro/
阅读全文
posted @ 2017-11-19 16:24
papering
阅读(145)
推荐(0)
摘要:
https://curl.haxx.se/docs/manpage.html curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTP
阅读全文
posted @ 2017-11-18 01:02
papering
阅读(255)
推荐(0)
摘要:
975.45 MB (1,022,836,736)
阅读全文
posted @ 2017-11-17 21:35
papering
阅读(222)
推荐(0)
摘要:
【同一时刻】 2个或多个事件 并发 concurrence 在同一时间间隔内不同时刻发生 并行 同一时刻发生 【计算程序 I/O程序】 未引入进程的系统 在属于同一个应用程序的计算程序和I/O程序之间只能是顺序执行,不能同时执行;但为计算程序和I/O程序分别建立一个进程(process)后,这两个进
阅读全文
posted @ 2017-11-17 00:35
papering
阅读(368)
推荐(0)
摘要:
https://www.liaoxuefeng.com/wiki/
阅读全文
posted @ 2017-11-16 20:58
papering
阅读(292)
推荐(0)
摘要:
cerery http://docs.celeryproject.org/en/latest/userguide/index.html
阅读全文
posted @ 2017-11-16 20:02
papering
阅读(179)
推荐(0)
摘要:
http://www.sohu.com/a/204244301_99961855
阅读全文
posted @ 2017-11-16 13:12
papering
阅读(384)
推荐(0)
摘要:
l=[1,2,3]def f(l): l[1]=123print(l)f(l)print(l)s="abc"def f1(s): s="x"print(s)f1(s)print(s) 可变对象 浅复制,函数修改了原值 不可变对象,不影响 对于不可变类型(数值型、字符串、元组),因变量不能修改,所以运
阅读全文
posted @ 2017-11-16 10:52
papering
阅读(377)
推荐(0)
摘要:
https://blog.golang.org/go-concurrency-patterns-timing-out-and https://blog.golang.org/concurrency-timeouts Go Concurrency Patterns: Timing out, movin
阅读全文
posted @ 2017-11-15 23:43
papering
阅读(259)
推荐(0)
摘要:
https://blog.golang.org/pipelines
阅读全文
posted @ 2017-11-15 23:40
papering
阅读(245)
推荐(0)
摘要:
https://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html Most of the executor implementations in java.util.concurrent use thread pools
阅读全文
posted @ 2017-11-15 22:54
papering
阅读(291)
推荐(0)
摘要:
New Elastic Load Balancing Feature: Sticky Sessions | AWS News Blog https://amazonaws-china.com/cn/blogs/aws/new-elastic-load-balancing-feature-sticky
阅读全文
posted @ 2017-11-15 20:05
papering
阅读(1286)
推荐(0)