Can we connect datameer git repo to Bitbucket repo
Hi there,
Our workplace uses datameer for Bigdata(Hadoop) analysis. I have been asked to create link to Bitbucket Repository from Datameer Git Repository. Datameer has Git-Plugin support. But the Git repository should be local for the datameer server. So, Could we create a link to Remote-Repository(Bitbucket) from the Git repository in Datameer-server by using a command like
git remote add origin <Bitbucket repository url>
By doing this, we don't have to take a copy of Datameer-server's Git-Repo. Further, if Datameer server is down, we can still recover from the BitBucket-Repo.
Thanks,
Jee
-
Official comment
The design of the Datameer provided Git Versioning Plug-in requires the local repository because the implementation requires a low-latency response for every change that is made in Datameer. This is described in the documentation here: Using the Git Versioning Plug-in
If you'd like to implement a solution that does not have the same low-latency requirements (i.e. pushes changes to a remote repository asynchronously), I'd encourage you to explore our SDK to implement a customized plug-in that meets your exact requirements.
Comment actions -
Thanks for the reply. The Git repository is going to be in the same place like mentioned in the datameer documentation. But i just want to add a remote repositoy for the local repository(which is in /opt/datameer/current/versioning) by running the below command,
1.git remote add origin http://xxxxxxxxxxx/datameer_test.git
so we can run the below command,
2.git push -u origin master
Note: datameer_test.git is a repo in (Bitbucket)
when i tried the above command(1), it gives me error like
fatal: Not a git repository (or any parent up to mount point /apps/xfer)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Note that, I am sure there is a .git directory in the local repository.
Please sign in to leave a comment.
Comments
3 comments