master

Git error on git pull (unable to update local ref)

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I only have branch master and im getting this error every time i try to "git pull": error: Couldn't set refs/remotes/origin/master From /var/lib/git/xxx/project ! a0f80ea..49177a3 master -> origin/master (unable to update local ref) and when i do "git pull origin master" i get: error: Couldn't set ORIG_HEAD fatal: Cannot update the ref 'ORIG_HEAD'. i have been searching but cant find why 回答1: My team and I ran into this error, unable to update local ref , when doing a pull in SourceTree. We used : git gc --prune=now This removes any

Master must start with yarn,spark

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting this error when is want to run SparkPi example. beyhan@beyhan:~/spark-1.2.0-bin-hadoop2.4$ /home/beyhan/spark-1.2.0-bin-hadoop2.4/bin/spark-submit --master ego-client --class org.apache.spark.examples.SparkPi /home/beyhan/spark-1.2.0-bin-hadoop2.4/lib/spark-examples-1.jar Spark assembly has been built with Hive, including Datanucleus jars on classpath Error: Master must start with yarn, spark, mesos, or local Run with --help for usage help or --verbose for debug output Using Spark's default log4j profile: org/apache/spark/log4j

HBase原理和设计

淺唱寂寞╮ 提交于 2019-12-03 09:05:44
简介 HBase —— Hadoop Database的简称,Google BigTable的另一种开源实现方式,从问世之初,就为了解决用大量廉价的机器高速存取海量数据、实现数据分布式存储提供可靠的方案。从功能上来讲,HBase不折不扣是一个数据库,与我们熟悉的Oracle、MySQL、MSSQL等一样,对外提供数据的存储和读取服务。而从应用的角度来说,HBase与一般的数据库又有所区别,HBase本身的存取接口相当简单,不支持复杂的数据存取,更不支持SQL等结构化的查询语言;HBase也没有除了rowkey以外的索引,所有的数据分布和查询都依赖rowkey。所以,HBase在表的设计上会有很严格的要求。架构上,HBase是分布式数据库的典范,这点比较像MongoDB的sharding模式,能根据键值的大小,把数据分布到不同的存储节点上,MongoDB根据configserver来定位数据落在哪个分区上,HBase通过访问Zookeeper来获取-ROOT-表所在地址,通过-ROOT-表得到相应.META.表信息,从而获取数据存储的region位置。 架构 上面提到,HBase是一个分布式的架构,除去底层存储的HDFS外,HBase本身从功能上可以分为三块:Zookeeper群、Master群和RegionServer群。 Zookeeper群:HBase集群中不可缺少的重要部分

How to do emergency fixes on master in git?

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have committed some changes (r5,6,7,8) to master and pushed to origin. Other people have pulled. Now master is supposed to be deployed in 2 days, but there is an emergency and something needs to go out today. What's the best practice for this? Do I create a new branch off of r4 and deploy that branch and then merge this branch into master? Someone on IRC said to temporarily revert them, commit, then unrevert them, but am trying to grasp how this would be better or how this works. 回答1: Someone on IRC said to temporarily revert them, commit,

Phabricator first time 'arc land' fails

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have installed and configured Phabricator so it has no warnings shown on web. Then I tried to create a repository and make a first git commit. I have get the revision accepted, however when I tried to do 'arc land' it failed with this message: -> % arc land Landing current branch 'master'. TARGET Landing onto "master", the default target under git. REMOTE Using remote "origin", the default remote under git. Exception Branch "master" does not exist in remote "origin". (Run with `--trace` for a full exception trace.) If I run with '--trace',

remote rejected master -> master (pre-receive hook declined)

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm working in rails 3.2 and I receive an error when I try to push to heroku: git push heroku master Counting objects: 496, done. Delta compression using up to 8 threads. Compressing objects: 100% (435/435), done. Writing objects: 100% (496/496), 5.17 MiB | 249 KiB/s, done. Total 496 (delta 125), reused 216 (delta 8) -----> Heroku receiving push -----> Removing .DS_Store files ! Heroku push rejected, no Cedar-supported app detected To git@heroku.com:lumeo.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to

How do I change the url in MVC 5?

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to change a URL in MVC 5 from "Master" to "Master-Franchise" & I thought the following would work but the URL is still just "Master". // GET: Master-Fanchise [Route("Master-Fanchise")] public ActionResult Master() { return View(); } 回答1: Use ActionName attributes which allows you to give action name for controller method regardless of method name. [ActionName("Master-Fanchise")] public ActionResult Master() { return View(); } 回答2: Have you enabled attribute routing as it is not turned on by default public class RouteConfig {

Hadoop Datanodes cannot find NameNode

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've set up a distributed Hadoop environment within VirtualBox: 4 virtual Ubuntu 11.10 installations, one acting as the master node, the other three as slaves. I followed this tutorial to get the single-node version up and running and then converted to the fully-distributed version. It was working just fine when I was running 11.04; however, when I upgraded to 11.10, it broke. Now all my slaves' logs show the following error message, repeated ad nauseum: INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.1.10:54310

Elasticserch Master not discoverd exception - Version 2.3.0

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is the first time I am working with elasticsearch. The following is my environment/configuration. I have 3 EC2 Ubuntu 14.04 instances. I have download and extracted elasticsearch-2.3.0.tar.gz. I have changed elasticsearch.yml file under elasticsearch/config in each of the instance. I have made the following changes in each of the elasticsearch.yml file. 3.1. EC2 Instance number 1 ( my client node) cluster.name: MyCluster node.name: Client node.master: false node.data: false path.data: /home/ubuntu/elasticsearch/data/elasticsearch/nodes

Git pull gives conflicts with octopus strategy

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Lately when I run git pull in my master branch it occasionally gives the following merge error: Trying simple merge with 7ff9b5... Trying simple merge with 6872cd... Simple merge did not work, trying automatic merge. Auto-merging file.txt ERROR: content conflict in file.txt fatal: merge program failed Automated merge did not work. Should not be doing an Octopus. Merge with strategy octopus failed. However after this merge attempt there are files that aren't even in the master branch. I can fix this issue using git reset and pulling again but