I'm trying to transfer data from one bucket to another, with:
c:\Program Files\Couchbase\Server\bin>cbtransfer couchstore-files://"C:\Program
Files\Couchbase\Server\var\lib\couchbase\data\MyBucketToBeDeleted"
couchbase://http://localhost:8091 --bucket-destination=MyBucket
But i'm getting this error:
error: no bucket subdirectories at:
C:\Program
Files\Couchbase\Server\var\lib\couchbase\data\MyBucketToBeDeleted
Pointless to say that MyBucketToBeDeleted is located at this folder (I think it is something related to syntax).
Couchbase Version: 4.5.X
The path should be the data directory and not the bucket directory. The URL for the cluster is also incorrect it should be http://
The following command should work:
cbtransfer couchstore-files://"C:\Program Files\Couchbase\Server\var\lib\couchbase\data" http://localhost:8091
--bucket-source=MyBucketToBeDeleted --bucket-destination=MyBucket
Related
I am trying to move my location on disk of a Bolt.cm install. Config.yml doesnt have any details of location.
When I rename the directory I receive app config issues as well as this :
Fatal error: Uncaught exception 'Bolt\Exception\LowLevelDatabaseException
Thrown from within Bolt. Seems like I need to update a config file but I don't see one with the path do web root or path to database stored.
Does such a file exist?
You need to flush the cache.
This can be done from the command line by:
php app/nut cache:clear
Or inside app/cache/ you will find the file config_cache.php that can be safely deleted.
I am trying to load an XML file into a table on my localhost MySQL server. Per MySQL 5.6 refman page I have my file loaded in the Data directory however I keep getting the error that my file is not found. I executed the SHOW VARIABLES WHERE Variable_Name LIKE "%dir" command and found where my data dictionary is located (C:\ProgramData\MySQL\MySQL Server 5.6\Data) and it's where I put my xml file but still get the same error:
mysql> USE test
Database changed
mysql> LOAD XML LOCAL INFILE 'testXML.xml'
-> INTO TABLE testxml
-> ROWS IDENTIFIED BY '<Data>';
ERROR 2 (HY000): File 'testXML.xml' not found (Errcode: 2 - No such file
or directory)
Any suggestions/direction would be appreciated. Thanks.
I remember having such a problem once and the problem was the spaces in the path name.
If really the file is at the right place and a file not found occur, I would highly suspect that the folder name 'MySQL Server 5.6' is the problem. You can validate this easily, put the file in another folder instead of the data dir and try adding/removing spaces to the folder name and see if it works.
An other possibility is that your folder is located in an Admin directory and that you don't have right to access.
I recently installed hadoop on my local ubuntu. I have started data-node by invoking bin/start-all.sh script. However when I try to run the word count program
bin/hadoop jar hadoop-examples-1.2.1.jar wordcount /home/USER/Desktop/books /home/USER/Desktop/books-output
I always get a connect exception. The folder 'books' is on my deskop(local filesystem). Any suggestions on how to overcome this?
I have followed every steps in this tutorial. I am not sure how to get rid of that error. All help will be appreciated.
copy your books file into your hdfs
and for the input path argument use hdfs path of your copied book file.
for more detail go through below link.
http://cs.smith.edu/dftwiki/index.php/Hadoop_Tutorial_1_--_Running_WordCount#Basic_Hadoop_Admin_Commands
There is a bit of confusion here, when you run the hadoop ... command then the default filesystem which it uses is the hadoop distributed filesystem hence the files must be located on the hdfs for hadoop to access it.
To copy files from the local filesystem to the hadoop filesystem you have to use the following command
hdfs dfs -copyFromLocal /path/in/local/file/system /destination/on/hdfs
One more thing if you want to run the program from your IDE directly then sometimes you get this issue which can be solved by adding the
core-site.xml and hdfs-site.xml files in the conf variable something like
conf.addResource(new Path("/usr/local/hadoop/etc/hadoop/core-site.xml"));
conf.addResource(new Path("/usr/local/hadoop/etc/hadoop/hdfs-site.xml"));
change the path above to the hdfs-site.xml and core-site.xml to your local path.
So the above arguments can also be provided from the command line by adding them to the classPath with -cp tag.
Can anyone help with the following?
5 LIBNAME test1 mysql server='blah.blah.com' user='blah' password=XXXXXX;
ERROR: The SAS/ACCESS Interface to MYSQL cannot be loaded. The libmysql code appendage could not be
loaded.
ERROR: Error in the LIBNAME statement.
Am using SAS 9.3, and downloaded the latest MySQL client today (v5.2.47).
As per Usage Note 37512 I am not using the following statement either in my code, nor in the sasv9.cfg file:
options set=sasmyl mywin417;
Do you have a pointer to the MySQL library in your path variable?
data _null_;
format x $10000.;
x=sysget('path');
put x=;
run;
If a path to the MYSQL location is not in the list above, there are two options:
1 - update the path variable to point at the correct location (restart required): http://www.computerhope.com/issues/ch000549.htm#0
2 - presuming the correct location does not exist, you may not have the software correctly installed. Try installing from this location: http://dev.mysql.com/downloads/installer/
Another issue might be with the connector. This can be downloaded from http://dev.mysql.com/downloads/. A further step is to copy the libmysql.dll file from C:\Program Files\MySQL\MySQL Connector C 6.0.2 to C:\Windows\System32...
Another alternative is that your SAS installation is not licenced for SAS/Access Interface to MYSQL.
Solved the same problem just adding to path not bin, but lib directory. Also in this dir was libmysql.dll file
I was facing the same problem as well. I just put the libmysql.dll file into the System32 folder and it worked. Also could try the SysWOW64 if System32 does not help.
I am trying to run dumpBackup.php and I get
php dumpBackup.php --current
DB connection error: Unknown error
My understanding is I need to copy the file AdminSettings.sample to .php.
But I don't seem to have such a file. What is the format of it. Probably looking in the wrong place but all references refer to the sample file
You should find AdminSettings.sample in the root of your MediaWiki install - in the same directory as LocalSettings.php, one directory up from the "maintenance" directory.
Details:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/AdminSettings.sample?view=markup
http://www.mediawiki.org/wiki/Manual:AdminSettings.php