versioning

CDH4: Version conflict: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected

不问归期 提交于 2019-12-08 04:57:30
问题 I'm trying to upgrade from CDH3 to CDH4 and am getting a version conflict from compile to run time. I'm getting this error: Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected From googling it seems that my code is being compiled against Hadoop 1.x and is running on Hadoop 2.0. I'm compiling and running the app on the same Hadoop client, so it should all be Hadoop 2.0. Here's what I get from running

Build events and versioning .js and .css files

一个人想着一个人 提交于 2019-12-08 04:29:58
问题 I have a MSBuild script set up to minify and combine my javascript and css files. What I need now is a way to version them. How are you guys currently handling this. What is the best way to incrementally version the file and update the <script/> tag with the new file name? 回答1: I was originally going to suggest using resource expressions to include a version tag from AppSettings , but after testing found that it only works if it is the entire value of a server control property. The

TransactionEventHandler gives javax.transaction.SystemException on Node.setProperty()

纵然是瞬间 提交于 2019-12-08 03:13:51
问题 I'm trying to implement a TransactionEventHandler like the one used in neo4j-versioning in order to create a time-machine style, versioned Neo4j database, now using Neo4j 2.x. It fails with the following infinite stack trace: javax.transaction.SystemException: TM has encountered some problem, please perform necessary action (tx recovery/restart) at org.neo4j.kernel.impl.transaction.TxManager.assertTmOk(TxManager.java:349) at org.neo4j.kernel.impl.transaction.TxManager.setRollbackOnly

Remoting in C# VS versioning

时光毁灭记忆、已成空白 提交于 2019-12-08 01:38:39
问题 Using Remoting in C#, I'm connecting to different servers. As I'm continuously adding features on the client side, the services on the server side isn't always up to date. How can I solve the issue that if I call a method in my interface (which invokes the method remotely on the server) and this method doesn't exist in the implementation on the server side? The client naturally crashes because there's an exception I cannot catch. Yes I could, but as there are many different Methods I call

how to upgrade a dependency of a global package in npm

你说的曾经没有我的故事 提交于 2019-12-08 00:19:35
问题 I have installed globally pouchdb-server and I got this message about graceful-fs : $ npm install -g pouchdb-server npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. As the message says, the package will failwith node > 7.0

Can I add versions to YAML Swagger objects?

ぃ、小莉子 提交于 2019-12-07 15:15:24
问题 I am creating a API definition, and a I wanto to split my canonical model to different documents and use the JSON pointer '$ref' to reuse them. I need to find a way to add version in the YAML files. For instance: ***pj.yaml*** pJType: verison: 1.0 type: object properties: cnpj: type: integer ***afastamento.yaml*** oswagger: '2.0' info: version: '1.0' title: AfastamentoService consumes: - application/json produces: - application/json paths: '/{nis}': get: parameters: - in: path name: nis type:

WCF client's and versioning

柔情痞子 提交于 2019-12-07 13:02:55
问题 If I change the WCF, do I have to run some sort of update on all client computers that are accessing the service? (i.e. run svutils.exe and update all app.config's etc?) 回答1: Read about data contact versioning: Data Contact Versioning: Forward-Compatible Data Contracts Best Practices: Data Contract Versioning 回答2: Not unless the message changes and the change is required to use your service. 回答3: If the signature of the WCF method does not change, then you will not need to update the clients.

Mercurial merge repository as branch

谁说胖子不能爱 提交于 2019-12-07 08:08:45
问题 I have two Mercurial repositories that are for different major revisions of the same project. The latter version is a massive change to the functionality, and especially the UI, of the project, but it will still have a lot of common code with the earlier version. (For shorthand I'll call these versions 4.6 and 5.0 and the repositories project-4.x and project-5.x going forward; that's basically what I'm dealing with.)[1] As we thought more carefully about the structure of our repository, and

Is it possible to parameterize a r package version?

限于喜欢 提交于 2019-12-07 05:40:21
问题 I'm finding myself updating a the version and date of the r-packages that I maintain quite often. Both the version and date exists in DESCRIPTION, packageName-package.Rd and also man/packageName-package.Rd. I've forgotten to update in one file several times. These were originally generated by the package.skeleton command. Is there a similar command/utility script to update the version? EDIT: Upon closer inspection the automatically generated versions and dates in the Rd files are not needed.

Add build number to package version with `dotnet pack` in VSTS Build process

痞子三分冷 提交于 2019-12-07 04:11:36
问题 With a .NET Framework library you could specify a version with a wildcard and NUGET pack command would append the build date and version automatically when running a NUGET Build Task in VSTS. [assembly: AssemblyVersion("1.0.*")] NUGET PACK would generate a NUPKG file with a version like 1.0.6604.1234 appending the date number and a build ID. NET Standard issues In .NET Core and .NET standard the new .csproj format does not support this wildcard format. We can't package with Nuget.exe (reason: