Questions tagged [resourcemanager]

The resourcemanager is ambiguous. The main two subjects identified are the .net ResourceManager (related to resx), and the hadoop Resource Manager.

267 questions
229
votes
33 answers

Could not find any resources appropriate for the specified culture or the neutral culture

I have two ASP.NET Web projects (ProjectA and ProjectB). When class in ProjectA is instantiating a class of ProjectB which uses a resource file Blah.resx, I get this error: An exception of type 'System.Resources.MissingManifestResourceException'…
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
32
votes
2 answers

Apache Hadoop Yarn - Underutilization of cores

No matter how much I tinker with the settings in yarn-site.xml i.e using all of the below…
Abbas Gadhia
  • 14,532
  • 10
  • 61
  • 73
31
votes
6 answers

Using ResourceManager

I'm trying to use the ResourceManager in a C# class, but don't know what to substitute for the basename when creating a new instance of the ResourceManager class. I have a separate project that contains the resource files which is referenced by my…
sagesky36
  • 4,542
  • 19
  • 82
  • 130
20
votes
5 answers

C# - Get number of references to object

I'm trying to write a simple Resource Manager for the little hobby game I'm writing. One of the tasks that this resource manager needs to do is unloading unused resources. I can think of doing this in two ways: When an object no longer requires…
Spoonman
19
votes
1 answer

Why does ResourceManager.GetResourceSet return null on the first request after a build? (C#)

I'm working on a large-ish web application built in C# (asp.net). I've got a simple aspx page that serves localized strings to the client browser for use in javascript controls. To get the strings, I do the following: ResourceManager _resources =…
Cole F
  • 191
  • 1
  • 1
  • 4
19
votes
6 answers

ResourceManager.GetString() method returns wrong string from different assemblies

I have 2 resource files, one with english and another foreign. When I call ResourceManager.GetString("Hello") from the .Designer.cs file it is always returning the english translation. I have checked my locale and language etc. and everything is…
pengibot
  • 1,492
  • 3
  • 15
  • 35
16
votes
6 answers

YARN Resourcemanager not connecting to nodemanager

thanks in advance for any help I am running the following versions: Hadoop 2.2 zookeeper 3.4.5 Hbase 0.96 Hive 0.12 When I go to http://:50070 I am able to correctly see that 2 nodes are running. The problem is when I go to http://:8088 it shows 0…
Aman Chawla
  • 704
  • 2
  • 8
  • 25
15
votes
1 answer

Get all strings from resourcemanager

I need to write a program, that reads all string resources from dll and insert them into some table. I have the method, that reads resources: private static IEnumerable> getAllResources(ResourceManager…
Oleksey
  • 151
  • 1
  • 3
14
votes
3 answers

Objective-C: Use singleton vs. use class as an object?

I've been wondering in what cases it is really necessary to adopt the singleton pattern in objective-C (e.g., define a dedicated class and create a single instance), that using the class as an object won't do. Particularly, I'm thinking of the…
Nicolas Miari
  • 16,006
  • 8
  • 81
  • 189
13
votes
2 answers

How to kill an application from the ResourceManager Web UI

Is there a way of killing an application from the RM web UI instead of running yarn application -kill?
dimamah
  • 2,883
  • 18
  • 31
13
votes
5 answers

ResourceManager trying to load .resources not .resx file

I am trying to load a resx file in my .net website using: ResourceManager rm = new ResourceManager( "Project.Resource", Assembly.GetExecutingAssembly() ); The Resource.resx file is in the folder App_LocalResources and is set to be embedded in…
Adam Fox
  • 1,316
  • 2
  • 12
  • 24
12
votes
2 answers

Is there a better way of managing localized strings?

I work on a product where we have to worry a bit about localization. Currently, this is the workflow for when I have to use(or add) a localized string: Search resources.resx file(which has hundreds of items) If found, then copy the name. Otherwise,…
Earlz
  • 62,085
  • 98
  • 303
  • 499
11
votes
1 answer

Extend C# file based resource manager

I want to store my resources in a different file format than NET's .resources (in particular, .po), so I wrote a custom resource set with a custom resource reader to retrieve them. I created a ResourceManager using the…
Santiago Palladino
  • 3,522
  • 2
  • 26
  • 36
10
votes
1 answer

ResourceManager not selecting correct resource set when using custom culture

I have created a localized MVC website using the code found on this blog by Alex Adamyan. This is working great if I use an existing culture. However, I am trying to localize for Tagalog (tl or tl-PH). Windows does not have this culture built in…
10
votes
1 answer

Hadoop Resource Manager not starting

I am new to Hadoop so I started setting up partially distributed Hadoop cluster on localhost. I created a wordcount program jar to run but when I run this jar the following error is shown for nine times: NFO ipc.Client: Retrying connect to server:…
Shahadeo
  • 683
  • 2
  • 5
  • 13
1
2 3
17 18